Closed ariesxje closed 10 years ago
When the model of the switch is true, and its initial state is hidden, e.g.
<input type="checkbox" class="js-switch" js-switch ng-model="active" ng-hide="hidden">
hidden is originally true, and active is originally true which makes the swtich is "on" and hidden at the first stage, then sets the hidden to false to show the switch, then the circle would appear at the right of its background, like this:
(__)O
Any suggestion?
When the model of the switch is true, and its initial state is hidden, e.g.
hidden is originally true, and active is originally true which makes the swtich is "on" and hidden at the first stage, then sets the hidden to false to show the switch, then the circle would appear at the right of its background, like this:
(__)O
Any suggestion?