Ion-toggle-text in Ionic


#1

Hi, i found in ionic1 ion-toggle have an ion-toggle-text attribute. This attribute allow me to add text inside ion-toggle. But it does not work in ionic 2 and i can not find the similar. Can some body please tell me how can i do it in ionic 2? Many thanks.


#2

I am looking for the same solution. Did you find any?


#3

No, I did not. I had to build a custom toggle myself. :neutral_face:


#4

Please Share your custom toggle with me.


#5

I just create a toggle with html and css then handle switch event by javascript. You can see how to create a toggle switch