Latest AngularJS version is out. 1.2.13. 1.2.13 romantic-transclusion has been released. Highlights: If you re doing animations you might want to take a look into the code changes involved to keep things running smooothly.
- $animate: ensure $animate doesn’t break natural CSS transitions (4f84f6b3, #6019)
- $compile: - ensure element transclusion directives are linked with comment element (e7338d3f, #6006, #6101) - support templates with table content root nodes (e7338d3f, #2848, #1459, #3647, #3241)
- input: - don’t apply textInput to
<input type="file">(a9fcb0d0, #6247, #6231) - setViewValue on compositionend (2b730271, #6058, #5433)
$animate: - due to 4f84f6b3, ngClass and will now call the
setClassanimation callback instead of addClass / removeClass when both a addClass/removeClass operation is being executed on the element during the animation.
Please include the setClass animation callback as well as addClass and removeClass within your JS animations to work with ngClass and directives.
due to cf5e463a, Both the
$animate:afterDOM events must be now registered prior to the $animate operation taking place. The
$animate:closeevent can be registered anytime afterwards.
DOM callbacks used to fired for each and every animation operation that occurs within the $animate service provided in the ngAnimate module. This may end up slowing down an application if 100s of elements are being inserted into the page. Therefore after this change callbacks are only fired if registered on the element being animated.