JulioWar / jw-bootstrap-switch-ng2

Bootstrap Switch for Angular 2+
https://juliowar.github.io/jw-bootstrap-switch-ng2/
MIT License
43 stars 14 forks source link

how can I set default state to on when I have no Model ?! #11

Closed hofa77 closed 6 years ago

hofa77 commented 6 years ago

Sorry , thanks for your project sharing

but I couldn't find any way to set default state to On when I have no Model ? could you please help me ?

JulioWar commented 6 years ago

hello @hofa77

For now the only way to set the state value is with ngModel. What are you trying to achive?