.switch-input

Element

Square toggle switch that returns a boolean value

.tiny .small .medium .large .extra

Syntax

$result = .switch-input

basic switch (defaults to off)

$result = .switch-input $initial

with initial value from variable

$result = .switch-input true

with boolean literal value

Developer Reference
Set: switches
Version: 0.0.0-2
Encoding: T_OP_EL
Sizes: 2-6
Actcode: 2194318135
Set ID: 147