(element, className, isAnimating)
| 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'; |
no test coverage detected