angular-ui-switch icon indicating copy to clipboard operation
angular-ui-switch copied to clipboard

On/off switch button for AngularJS. DEPRECATED!

Results 39 angular-ui-switch issues
Sort by recently updated
recently updated
newest added

angular.module('app', ['uiSwitch']) .controller('MyController', function($scope) { $http.get("myurl").success(function (data, status, headers, config) { //Static allocation $scope.enabled = data.enabled; //"false" or "true" $scope.onOff = data.onOff; //"false" or "true" $scope.yesNo = data.yesNo; //"false" or...

hi ~dear friend, how to change true of false value to 1 and 2 ,thank you !

I tried adding an event on ng-click but I always end up gettin angular-js errors. anybody else too?

Added ngDisabled handling in both ngClass and ngClick attribute

The ng-disabled is not working. I changed the code a little bit is order to adjust the directive to the ng-disabled. Hope you will update it on the repo ```...

The switch does not resize when on/off text is added. ![screenshot 2015-12-18 11 57 38](https://cloud.githubusercontent.com/assets/1471313/11904651/a88e7426-a57e-11e5-8a20-1009c30203c9.png)

Updated so its possible to set the disabled state externally.

PR for #34 - add licence file

Thank you for making your code available! Could you please add an explicit LICENSE file to the repo so that it's clear under what terms the content is provided, and...