AtMostOneCheckboxGroup Class
At most one checkbox can be selected. If one is turned on, the active one is turned off.
Constructor
Item Index
Methods
allChecked
()
Boolean
Returns:
Boolean:
true if all checkboxes are checked
allDisabled
()
Boolean
Returns:
Boolean:
true if all checkboxes are disabled
allUnchecked
()
Boolean
Returns:
Boolean:
true if all checkboxes are unchecked
checkboxChanged
(
-
cb
Call this if you modify the checkbox programmatically, since that
will not fire a click event.
Parameters:
-
cbNode | Stringcheckbox that was modified
enforceConstraints
(
-
cb_list -
index
Parameters:
-
cb_listString | Object | ArrayThe list of checkboxes
-
indexIntThe index of the checkbox that changed
