Documentation

toggle

changes the state of the two-state control

void toggle();

See also

Example

$$('toggle1').toggle();

Details

If the toggle button was pressed - it becomes unpressed and vice versa.

Back to top