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

Function afterReflow

test/angular/1.3/angular-animate.js:1647–1661  ·  view source on GitHub ↗
(element, callback)

Source from the content-addressed store, hash-verified

1645 }
1646
1647 function afterReflow(element, callback) {
1648 if (cancelAnimationReflow) {
1649 cancelAnimationReflow();
1650 }
1651 animationReflowQueue.push(callback);
1652 cancelAnimationReflow = $$animateReflow(function() {
1653 forEach(animationReflowQueue, function(fn) {
1654 fn();
1655 });
1656
1657 animationReflowQueue = [];
1658 cancelAnimationReflow = null;
1659 lookupCache = {};
1660 });
1661 }
1662
1663 var closingTimer = null;
1664 var closingTimestamp = 0;

Callers 2

animateFunction · 0.70
angular-animate.jsFile · 0.70

Calls 2

fnFunction · 0.85
forEachFunction · 0.70

Tested by

no test coverage detected