Sets or gets the state of the toggle switch.
Setting the checked property to true turns the toggle switch on. Setting it to false turns the toggle switch off.
checked
true
false