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

Function fireDOMCallback

test/angular/1.3/angular-animate.js:1433–1443  ·  view source on GitHub ↗
(animationPhase)

Source from the content-addressed store, hash-verified

1431 return runner.cancel;
1432
1433 function fireDOMCallback(animationPhase) {
1434 var eventName = '$animate:' + animationPhase;
1435 if (elementEvents && elementEvents[eventName] && elementEvents[eventName].length > 0) {
1436 $$asyncCallback(function() {
1437 element.triggerHandler(eventName, {
1438 event: animationEvent,
1439 className: className
1440 });
1441 });
1442 }
1443 }
1444
1445 function fireBeforeCallbackAsync() {
1446 fireDOMCallback('before');

Callers 3

fireBeforeCallbackAsyncFunction · 0.70
fireAfterCallbackAsyncFunction · 0.70
fireDoneCallbackAsyncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected