checked


checkedboolean

Sets or gets whether a switch is on or off.

Setting the checked property to true toggles the switch to the on position. Setting it to false toggles the switch to the off position.

Getting the checked property returns whether the switch is on or off.

Did this help?