Closed jainanuj0812 closed 7 years ago
I don't understand what are you trying to do but if you want to show the value of the off option
you can change the label text
when the value has change.
<bSwitch
[switch-label-text]="(state) ? 'OFF' : 'ON' "
switch-off-text="ON"
switch-on-text="OFF"
[(ngModel)]="state">
</bSwitch>
@JulioWar, Thanks man! ya that's what I want.
While using this plugin, one limitation that I faced is that the label for the off option is not visible. Can we have a option to make the label for both the option visible all the time