选择器
eui-datetimespinner
继承
TimeSpinnerComponent
用法
<div style="margin-bottom:20px">
<label [for]="t1">Start:</label>
<eui-datetimespinner #t1 [(ngModel)]="time1"></eui-datetimespinner>
</div>
<div style="margin-bottom:20px">
<label [for]="t2">End:</label>
<eui-datetimespinner #t2 [(ngModel)]="time2"></eui-datetimespinner>
</div>
输入
名称 | 类型 | 描述 | 默认 |
---|---|---|---|
value | string | 字段值 | null |
min | string | 最小允许时间。 | null |
max | string | 最大允许时间 | null |
increment | number | 单击微调按钮时增加值。 | 1 |
highlight | number | 初始化突出显示的字段,0 =月,1 =日,2 =年 | 0 |
format | string | 时间格式。 | MM/dd/yyyy HH:mm |