mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
* The `TransitionAnimationEngine` had a fallback where it would store classes directly on a node if it doesn't have a `classList`. Presumably this is to support old browsers or if an animation is set on something like `ng-container`. This information was never used for anything since `containsClass` was never called. These changes simplify the logic to just a null check. * Deprecates the `AnimationDriver.matchesElement` method, because it was only used in one place which can be replaced with `classList.contains`. We can't remove the method completely, because `AnimationDriver` is a public API. We also can't turn it into a method on the base class in order to remove it from the sub-classes, because it can break apps using `noImplicitOverride` while extending `AnimationDriver`. PR Close #44378 |
||
|---|---|---|
| .. | ||
| css_keyframes | ||
| web_animations | ||
| timeline_animation_engine_spec.ts | ||
| transition_animation_engine_spec.ts | ||