MCPcopy Index your code
hub / github.com/angular-ui/ui-router / animateClose

Function animateClose

test/angular/1.3/angular-animate.js:2038–2049  ·  view source on GitHub ↗
(element, className)

Source from the content-addressed store, hash-verified

2036 }
2037
2038 function animateClose(element, className) {
2039 $$jqLite.removeClass(element, className);
2040 var data = element.data(NG_ANIMATE_CSS_DATA_KEY);
2041 if (data) {
2042 if (data.running) {
2043 data.running--;
2044 }
2045 if (!data.running || data.running === 0) {
2046 element.removeData(NG_ANIMATE_CSS_DATA_KEY);
2047 }
2048 }
2049 }
2050
2051 return {
2052 animate: function(element, className, from, to, animationCompleted, options) {

Callers 4

animateRunFunction · 0.70
onEndFunction · 0.70
animateBeforeFunction · 0.70
animateAfterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected