Constructor Summary
| Public Constructor | ||
| public |
constructor(id: String, options: Object) Constructor |
|
Method Summary
| Public Methods | ||
| public |
gets or sets the status of the checkbox |
|
| public |
gets or sets the status of the radiobutton |
|
| public |
gets or sets the name of the radiobutton |
|
| public |
gets or sets the value of the radiobutton |
|
Public Constructors
public constructor(id: String, options: Object) source
Constructor
Params:
| Name | Type | Attribute | Description |
| id | String | radiobutton id |
|
| options | Object | config params |
|
| options.label | Boolean | the label of the radiobutton |
|
| options.name | Boolean | the name of the radiobutton |
|
| options.value | Boolean | the value of the radiobutton |
|
| options.enable | Boolean | if true, the radiobutton will be enable. otherwise, will be disabled. |
|
| options.checked | Boolean | if true, the radiobutton will be checked. otherwise, will be unchecked. |
Public Methods
public checked(optional: Boolean): Null source
gets or sets the status of the checkbox
Params:
| Name | Type | Attribute | Description |
| optional | Boolean | if true, the radiobutton will be checked. otherwise, will be unchecked. |
Return:
| Null |
public enable(optional: Boolean): Null source
gets or sets the status of the radiobutton
Params:
| Name | Type | Attribute | Description |
| optional | Boolean | if true, the radiobutton will be enable. otherwise, will be disabled. |
Return:
| Null |
Reference
Source