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

Function markElementAnimationState

test/angular/1.5/angular-animate.js:2841–2853  ·  view source on GitHub ↗
(element, state, details)

Source from the content-addressed store, hash-verified

2839 }
2840
2841 function markElementAnimationState(element, state, details) {
2842 details = details || {};
2843 details.state = state;
2844
2845 var node = getDomNode(element);
2846 node.setAttribute(NG_ANIMATE_ATTR_NAME, state);
2847
2848 var oldValue = activeAnimationsLookup.get(node);
2849 var newValue = oldValue
2850 ? extend(oldValue, details)
2851 : details;
2852 activeAnimationsLookup.put(node, newValue);
2853 }
2854 }];
2855}];
2856

Callers 1

queueAnimationFunction · 0.70

Calls 2

getDomNodeFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected