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

inverse

Open ilanCambium opened this issue 10 years ago • 1 comments

Hello, I am trying to replace between the On and Off. How can I do it?

Thanks

ilanCambium avatar Jun 15 '15 08:06 ilanCambium

I had the same issue and made this work (angular 1.4.4) by combining "toggle-switch" with a "negate" directive, both sharing the ngModel attribute. http://stackoverflow.com/questions/13925462/angularjs-reverse-checkbox-state/22529753#22529753 (it works even if we have no checkbox field)

lampapetrol avatar Aug 17 '15 09:08 lampapetrol