This is not an Ionic issue, it is entirely custom CSS. It would probably require custom JS since the only way to know is if it is checked is to look at the input but it is styling the parent div. If you want to use the Ionic toggle, there is documentation here: http://ionicframework.com/docs/components/#toggle
↧