Optional Animations / Disable animations

27 views
Skip to first unread message

Ben Purcell

unread,
May 21, 2013, 6:45:29 PM5/21/13
to ang...@googlegroups.com
Hi,

I am trying to disable animations temporarily as described in this article: http://www.yearofmoo.com/2013/04/animation-in-angularjs.html#optional-animations

I am attempting to use the approach of assigning my animation to a variable, and setting ng-animate to that variable. According to the article, if I set the variable used by ng-animate to null this should disable the animation. However, setting the variable to null has no effect.

Here is a jsfiddle with what I am talking about: http://jsfiddle.net/eADHC/1/


Reply all
Reply to author
Forward
0 new messages