jamiebicknell/Toggle-Switch — pull request #5 by vitorhsb (2012-12-06 16:00:22+00:00)
Title: Added callbacks for onClick and onChange events

Added callbacks for onClick and onChange events, namely:

onClick: clicked on element
onChangeOn: changed element into checked state
onChangeOff: changed element into unchecked state

Hope you consider this as useful.