Toggle
methodsToggles the selected state of the ToggleButton.
Parameters:toggleBoolean
Indicates whether the ToggleButton should be selected or deselected. true and false arguments are accepted. If no argument is supplied, the ToggleButton will toggle its current state to the opposite value.