(node, animationDetails)
| 2378 | // class-based animations so that the parent classes are all present for child |
| 2379 | // animations to properly function (otherwise any CSS selectors may not work) |
| 2380 | function examineParentAnimation(node, animationDetails) { |
| 2381 | // enter/leave/move always have priority |
| 2382 | if (animationDetails.structural || !hasAnimationClasses(animationDetails.options)) return; |
| 2383 | |
| 2384 | if (animationDetails.state === RUNNING_STATE) { |
| 2385 | animationDetails.runner.end(); |
| 2386 | } |
| 2387 | clearElementAnimationState(node); |
| 2388 | } |
| 2389 | } |
| 2390 | |
| 2391 | function areAnimationsAllowed(element, parentElement, event) { |
no test coverage detected