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