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

Function prepareOutAnimation

test/angular/1.5/angular-animate.js:1658–1668  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1656 }
1657
1658 function prepareOutAnimation() {
1659 var animator = $animateCss(clone, {
1660 addClass: NG_OUT_ANCHOR_CLASS_NAME,
1661 delay: true,
1662 from: calculateAnchorStyles(outAnchor)
1663 });
1664
1665 // read the comment within `prepareRegularAnimation` to understand
1666 // why this check is necessary
1667 return animator.$$willAnimate ? animator : null;
1668 }
1669
1670 function getClassVal(element) {
1671 return element.attr('class') || '';

Callers 1

prepareAnchoredAnimationFunction · 0.70

Calls 1

calculateAnchorStylesFunction · 0.70

Tested by

no test coverage detected