Starts a reusable animation that is created using the animation() function.
Deprecation warning
API
function useAnimation( animation: AnimationReferenceMetadata, options?: AnimationOptions | null, ): AnimationAnimateRefMetadata;
Starts a reusable animation that is created using the animation() function.
Deprecation warning
function useAnimation( animation: AnimationReferenceMetadata, options?: AnimationOptions | null, ): AnimationAnimateRefMetadata;
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/animations/useAnimation