xpepermint / angular-ui-switch

On/off switch button for AngularJS. DEPRECATED!
278 stars 127 forks source link

[question] Is it possible to disable? Using ng-disabled for example. #15

Closed paulocheque closed 8 years ago

paulocheque commented 9 years ago

Is it possible to disable? Using ng-disabled for example.

<switch id="enabled" name="enabled" ng-model="mymodel" ng-disabled="true"></switch>
JobaDiniz commented 9 years ago

Related: https://github.com/xpepermint/angular-ui-switch/issues/9

xpepermint commented 8 years ago

https://github.com/xpepermint/angular-ui-switch/pull/23