Proto.io has a great solution for on/off switches and they're super easy to use. However, I'm having trouble figuring out how I add an event handler to the switch after I click it. Specifically, I'm asking how to determine the state that the switch is in after I click it.Proto.io has a great solution for on/off switch