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

Function blockTransitions

test/angular/1.2/angular-animate.js:1378–1384  ·  view source on GitHub ↗
(element, className, isAnimating)

Source from the content-addressed store, hash-verified

1376 }
1377
1378 function blockTransitions(element, className, isAnimating) {
1379 if(isStructuralAnimation(className) || !isAnimating) {
1380 extractElementNode(element).style[TRANSITION_PROP + PROPERTY_KEY] = 'none';
1381 } else {
1382 element.addClass(NG_ANIMATE_BLOCK_CLASS_NAME);
1383 }
1384 }
1385
1386 function blockKeyframeAnimations(element) {
1387 extractElementNode(element).style[ANIMATION_PROP] = 'none 0s';

Callers 1

animateSetupFunction · 0.70

Calls 2

isStructuralAnimationFunction · 0.85
extractElementNodeFunction · 0.70

Tested by

no test coverage detected