JumpLink / angular-toggle-switch

AngularJS Toggle Switch
http://jumplink.github.io/angular-toggle-switch/
MIT License
68 stars 37 forks source link

Styles for sizes and colors are missing from the package #8

Closed sorgoz closed 9 years ago

sorgoz commented 9 years ago

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 9 years ago

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 9 years ago

I think you are installed the angular-toggle-switch from cgarvis this project is forked from.

jmayday commented 7 years ago

I did the same mistake. Is your directive available as NPM package?