Class InputElementCheckbox
Extends
InputElementWithLabel.
A checkbox object, derived from labeled object
Defined in: inputElement.js.
Constructor Attributes | Constructor Name and Description |
---|---|
InputElementCheckbox(tag)
|
Method Attributes | Method Name and Description |
---|---|
Sets the checkbox to unchecked.
|
|
Returns the checkbox state.
|
|
Sets the checkbox to checked.
|
- Methods borrowed from class InputElementWithLabel:
- appendTo, setLabel, setTextAlign
- Methods borrowed from class InputElement:
- disable, enable, onChange, onClick
Method Detail
clearChecked()
Sets the checkbox to unchecked.
{boolean}
isChecked()
Returns the checkbox state.
- Returns:
- {boolean} Whether the checkbox is checked or not
setChecked()
Sets the checkbox to checked.