MCPcopy Index your code
hub / github.com/angular-ui/ui-router / markElementAnimationState

Function markElementAnimationState

test/angular/1.4/angular-animate.js:2816–2828  ·  view source on GitHub ↗
(element, state, details)

Source from the content-addressed store, hash-verified

2814 }
2815
2816 function markElementAnimationState(element, state, details) {
2817 details = details || {};
2818 details.state = state;
2819
2820 var node = getDomNode(element);
2821 node.setAttribute(NG_ANIMATE_ATTR_NAME, state);
2822
2823 var oldValue = activeAnimationsLookup.get(node);
2824 var newValue = oldValue
2825 ? extend(oldValue, details)
2826 : details;
2827 activeAnimationsLookup.put(node, newValue);
2828 }
2829 }];
2830}];
2831

Callers 1

queueAnimationFunction · 0.70

Calls 2

getDomNodeFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected