MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / markElementAnimationState

Function markElementAnimationState

lib/test/angular/1.4.3/angular-animate.js:2458–2470  ·  view source on GitHub ↗
(element, state, details)

Source from the content-addressed store, hash-verified

2456 }
2457
2458 function markElementAnimationState(element, state, details) {
2459 details = details || {};
2460 details.state = state;
2461
2462 var node = getDomNode(element);
2463 node.setAttribute(NG_ANIMATE_ATTR_NAME, state);
2464
2465 var oldValue = activeAnimationsLookup.get(node);
2466 var newValue = oldValue
2467 ? extend(oldValue, details)
2468 : details;
2469 activeAnimationsLookup.put(node, newValue);
2470 }
2471 }];
2472}];
2473

Callers 1

queueAnimationFunction · 0.70

Calls 2

getDomNodeFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected