{ "id": "api/animations/AnimationReferenceMetadata", "title": "AnimationReferenceMetadata", "contents": "\n\n
\n
\n
\n \n API > @angular/animations\n
\n \n
\n \n
\n

AnimationReferenceMetadatalink

\n \n \n \n \n \n
\n \n \n\n
\n \n
\n

Encapsulates a reusable animation, which is a collection of individual animation steps.\nInstantiated and returned by the animation() function, and\npassed to the useAnimation() function.

\n\n \n
\n \n \n
\n\ninterface AnimationReferenceMetadata extends AnimationMetadata {\n animation: AnimationMetadata | AnimationMetadata[]\n options: AnimationOptions | null\n\n // inherited from animations/AnimationMetadata\n type: AnimationMetadataType\n}\n\n\n \n \n\n\n \n \n\n
\n\n \n\n \n \n \n
\n

Propertieslink

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
PropertyDescription
\n \n animation: AnimationMetadata | AnimationMetadata[]\n \n \n

One or more animation step objects.

\n\n \n
\n \n options: AnimationOptions | null\n \n \n

An options object containing a delay and\ndeveloper-defined parameters that provide styling defaults and\ncan be overridden on invocation. Default delay is 0.

\n\n \n
\n
\n \n\n\n \n\n\n
\n
\n\n\n" }