Constructor Summary
Public Constructor | ||
public |
constructor(id: String, options: Object) 构造函数 |
Method Summary
Public Methods | ||
public |
启用或禁用控件 |
|
public |
设置控件是否为只读的 |
|
public |
setDataSource(array: String[]): Null 设置控件的数据源 |
|
public |
获取或设置控件的值 |
Public Methods
public enable(flag: Boolean): Null source
启用或禁用控件
Params:
Name | Type | Attribute | Description |
flag | Boolean | 如果设置成false,控件将会被禁用 |
Return:
Null |
public readonly(flag: Boolean): Null source
设置控件是否为只读的
Params:
Name | Type | Attribute | Description |
flag | Boolean | 如果设置成true,控件将会被设置成只读的,用户无法输入 |
Return:
Null |