"checked"

Switches the ToggleSwitch state to "on" or "off".

Synopsis

shape.checked(bool);

Parameters

Parameter Description
bool

TRUE = on

FALSE = off

Description

Switches the ToggleSwitch state to "on" or "off".

Example

In the following example the ToggleSwitch is switched on.

main()
{
  this.checked(1);
}
Abbildung 1. ToggleSwitch switched On

Assignment

ToggleSwitch EWO