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

Function fireDOMCallback

test/angular/1.2/angular-animate.js:970–980  ·  view source on GitHub ↗
(animationPhase)

Source from the content-addressed store, hash-verified

968 });
969
970 function fireDOMCallback(animationPhase) {
971 var eventName = '$animate:' + animationPhase;
972 if(elementEvents && elementEvents[eventName] && elementEvents[eventName].length > 0) {
973 $$asyncCallback(function() {
974 element.triggerHandler(eventName, {
975 event : animationEvent,
976 className : className
977 });
978 });
979 }
980 }
981
982 function fireBeforeCallbackAsync() {
983 fireDOMCallback('before');

Callers 3

fireBeforeCallbackAsyncFunction · 0.70
fireAfterCallbackAsyncFunction · 0.70
fireDoneCallbackAsyncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected