Styles for sizes and colors are missing from the package
Closed this issue · 3 comments
sorgoz commented
When I tried to set size of the switch to different than default, I found there is no CSS specs for classes described on the demo page.
<toggle-switch ng-model="onPause" class="switch-success switch-mini"><toggle-switch>
Both "switch-success" and "switch-mini" (and others) are missing from css files in the bower package.
The demo page also says the model attribute is named as "model" while this throws exception. The right attr name should be "ng-model".
JumpLink commented
You can find the css specs you are looking for in https://github.com/JumpLink/angular-toggle-switch/blob/master/style/bootstrap3/angular-toggle-switch-bootstrap-3.css#L175
JumpLink commented
I think you are installed the angular-toggle-switch from cgarvis this project is forked from.
jmayday commented
I did the same mistake. Is your directive available as NPM package?