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

Function markElementAnimationState

lib/test/angular/1.5.0/angular-animate.js:2807–2819  ·  view source on GitHub ↗
(element, state, details)

Source from the content-addressed store, hash-verified

2805 }
2806
2807 function markElementAnimationState(element, state, details) {
2808 details = details || {};
2809 details.state = state;
2810
2811 var node = getDomNode(element);
2812 node.setAttribute(NG_ANIMATE_ATTR_NAME, state);
2813
2814 var oldValue = activeAnimationsLookup.get(node);
2815 var newValue = oldValue
2816 ? extend(oldValue, details)
2817 : details;
2818 activeAnimationsLookup.put(node, newValue);
2819 }
2820 }];
2821}];
2822

Callers 1

queueAnimationFunction · 0.70

Calls 2

getDomNodeFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected