Members
off :boolean
- Source:
If the light is off.
Type:
- boolean
on :boolean
- Source:
If the light is on.
Type:
- boolean
Methods
toggle()
- Source:
Toggles the light.
turnOff()
- Source:
Turns the light off.
turnOn()
- Source:
Turns the light on.