isDisabled()
checks whether a Toggle control is disabled
isDisabled(): boolean;
Returns:
true
, if a control is disabled. Otherwise, false
.
Example
form.getItem("toggle").isDisabled(); // -> true/false
checks whether a Toggle control is disabled
true
, if a control is disabled. Otherwise, false
.
Example
form.getItem("toggle").isDisabled(); // -> true/false