MCPcopy
hub / github.com/angular-ui/ui-router / animateClose

Function animateClose

test/angular/1.2/angular-animate.js:1571–1582  ·  view source on GitHub ↗
(element, className)

Source from the content-addressed store, hash-verified

1569 }
1570
1571 function animateClose(element, className) {
1572 element.removeClass(className);
1573 var data = element.data(NG_ANIMATE_CSS_DATA_KEY);
1574 if(data) {
1575 if(data.running) {
1576 data.running--;
1577 }
1578 if(!data.running || data.running === 0) {
1579 element.removeData(NG_ANIMATE_CSS_DATA_KEY);
1580 }
1581 }
1582 }
1583
1584 return {
1585 enter : function(element, animationCompleted) {

Callers 3

onEndFunction · 0.70
animateBeforeFunction · 0.70
animateAfterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected