setValue()
sets the state for a Toggle control
setValue(selected: boolean): void;
Parameters:
selected: boolean
- the state to be set for the toggle
Example
form.getItem("toggle").setValue(true);
sets the state for a Toggle control
selected: boolean
- the state to be set for the toggleExample
form.getItem("toggle").setValue(true);