选择器
eui-datebox
继承
ComboBaseComponent
用法
<div style="margin-bottom:20px">
<label [for]="d1" align="top">Default Format</label>
<eui-datebox #d1 [(ngModel)]="value"></eui-datebox>
</div>
<div style="margin-bottom:20px">
<label [for]="d2" align="top">yyyy-MM-dd</label>
<eui-datebox #d2 [(ngModel)]="value" format="yyyy-MM-dd"></eui-datebox>
</div>
输入
名称 |
类型 |
描述 |
默认 |
value |
Date |
字段值 |
null |
selection |
Date |
选中的日期。 |
null |
format |
string |
日期格式。 |
MM/dd/yyyy |
字段
名称 |
类型 |
描述 |
calendar |
CalendarComponent |
下拉日历组件。 |
事件
名称 |
参数 |
描述 |
selectionChange |
Date |
更改选择时触发。 |