Commit Graph

6 Commits

Author SHA1 Message Date
Adam Bradley
6fbd1a4306 fix(toggle): fix toggle-class attribute
Closes #1851
2014-08-06 08:40:57 -05:00
Andrew
537b29d0bb fix(toggle): fix ngChange being reported before model changes
Closes #1349, #1741

BREAKING CHANGE:

ion-toggle no longer has an isolate scope.
This will break your toggle only if you were relying upon the toggle
having an isolate scope: if you were referencing `$parent.value` as
the ng-disabled attribute, for example.

Change your code from this:

<ion-toggle ng-disabled="{{$parent.isDisabled}}"></ion-toggle>

To this:

<ion-toggle ng-disabled="{{isDisabled}}"></ion-toggle>
2014-07-10 23:51:55 -06:00
Andrew Joslin
b785955348 chore(): factor out some angular functions to variables 2014-05-07 14:54:51 -06:00
Adam Bradley
f831dc3cc7 feature(toggle): Customize toggle directive colors, closes #1250 2014-05-01 13:25:31 -05:00
Adam Bradley
f4745c3689 enable/disable toggle pointer-events w/ css only, closes #1185 2014-04-28 12:37:44 -05:00
Andy Joslin
14a2790749 refactor(): reorganize source files 2014-04-14 10:47:27 -06:00