"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".

Figure 1. ToggleSwitch switched On

Assignment

ToggleSwitch EWO