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

Function afterReflow

test/angular/1.2/angular-animate.js:1177–1191  ·  view source on GitHub ↗
(element, callback)

Source from the content-addressed store, hash-verified

1175 }
1176
1177 function afterReflow(element, callback) {
1178 if(cancelAnimationReflow) {
1179 cancelAnimationReflow();
1180 }
1181 animationReflowQueue.push(callback);
1182 cancelAnimationReflow = $$animateReflow(function() {
1183 forEach(animationReflowQueue, function(fn) {
1184 fn();
1185 });
1186
1187 animationReflowQueue = [];
1188 cancelAnimationReflow = null;
1189 lookupCache = {};
1190 });
1191 }
1192
1193 var closingTimer = null;
1194 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