MCPcopy Create free account
hub / github.com/angular-ui/ui-router / closeAllAnimations

Function closeAllAnimations

test/angular/1.3/angular-animate.js:1690–1699  ·  view source on GitHub ↗
(elements)

Source from the content-addressed store, hash-verified

1688 }
1689
1690 function closeAllAnimations(elements) {
1691 forEach(elements, function(element) {
1692 var elementData = element.data(NG_ANIMATE_CSS_DATA_KEY);
1693 if (elementData) {
1694 forEach(elementData.closeAnimationFns, function(fn) {
1695 fn();
1696 });
1697 }
1698 });
1699 }
1700
1701 function getElementAnimationDetails(element, cacheKey) {
1702 var data = cacheKey ? lookupCache[cacheKey] : null;

Callers 1

animationCloseHandlerFunction · 0.70

Calls 2

fnFunction · 0.85
forEachFunction · 0.70

Tested by

no test coverage detected