This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Make $animateCss available in Angular #12509
Closed
Description
For library maintainers that allow users to opt-in to animations, there is a gap in support - currently $animateCss
is only available in ngAnimate. It would be useful to have a matching API in Angular itself with a $animateCss
service, similar to how $animate
is handled. The only way to detect if the user has $animateCss is to do a try-catch with fetching via $injector
and swallow the exception, and fall back to $animate usage in that case.