You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
//addClass('one two three')$scope.one=true;$scope.two=true;$scope.three=true;$scope.disableOne=function(){//removeClass('one two three')//addClass('two three')$scope.one=false;}
Then what will happen is it will remove all the classes first and then add back .two + .three.
This causes an issue with animations because if you have a transition on one of the classes (say .two) then the removeClass animation will be skipped since addClass happens right after cancelling out the removeClass animation, but this shouldn't happen in the first place since there should not be an addClass operation at all if only one ngClass value is set to false.