选择器
eui-textbox
继承
InputBaseComponent
用法
<div style="margin-bottom:10px;display:inline-block;margin-right:1em">
<label [for]="t1" align="top">First Name:</label>
<eui-textbox #t1 [(ngModel)]="fname" iconCls="icon-man" placeholder="First name"></eui-textbox>
</div><div style="margin-bottom:10px;display:inline-block">
<label [for]="t2" align="top">Last Name:</label>
<eui-textbox #t2 [(ngModel)]="lname" placeholder="Last name"></eui-textbox>
</div>
<div style="margin-bottom:10px">
<label [for]="t3" align="top">Address:</label>
<eui-textbox #t3 [(ngModel)]="addr" style="width:25em"></eui-textbox>
</div>
输入
名称 | 类型 | 描述 | 默认 |
---|---|---|---|
value | string | 字段值 | null |