How to add the text “ON” and "OFF in toogle button
Please help me out anyone
Thanks in advance
The HTML
<span id="customToggle">
<span>Off</span>
<ion-toggle checked="false"></ion-toggle>
<span>On</span>
</span>
The CSS:
#customToggle {
display: flex;
align-items: center;
}