isSelected()
checks whether the selected state is enabled
isSelected(): boolean;
Returns:
true, if the control is in the selected (pressed) state. Otherwise, false.
Example
form.getItem("toggle").isSelected(); // -> true/false
checks whether the selected state is enabled
true, if the control is in the selected (pressed) state. Otherwise, false.
Example
form.getItem("toggle").isSelected(); // -> true/false