ionic2中可自定义的日期时间选择器
我不想在使用标记从日期选择器中选择日期后显示日期。是否可能以下是代码 正如图中所示,我不想展示2017年3月31日的照片,有可能吗ionic2中可自定义的日期时间选择器,ionic2,Ionic2,我不想在使用标记从日期选择器中选择日期后显示日期。是否可能以下是代码 正如图中所示,我不想展示2017年3月31日的照片,有可能吗 <ion-header> <ion-icon class="moreicon" name="more"> <ion-datetime type="button" [(ngModel)]="myDate" (click)="get()"></ion-datetime> </ion-i
<ion-header>
<ion-icon class="moreicon" name="more">
<ion-datetime type="button" [(ngModel)]="myDate" (click)="get()"></ion-datetime>
</ion-icon>
</ion-header>
在您的组件页面上,只需按如下所示操作即可 .scss
那么,您需要以哪种方式显示日期?我根本不想显示日期为什么要使用日期选择器?我想在用户选择特定列表后过滤列表数据为此,用户需要从选择器中选择日期,或者您可以在不显示选择器的情况下进行过滤?
.ios,
.md,
.wp
{
.datetime-text{
display: none;
}
}