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

AnimationStyleMetadatalink

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

Encapsulates an animation style. Instantiated and returned by\nthe style() function.

\n\n \n
\n \n \n
\n\ninterface AnimationStyleMetadata extends AnimationMetadata {\n styles: '*' | {...}\n offset: number | 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 styles: '*' | {\n [key: string]: string | number;\n} | Array<{\n [key: string]: string | number;\n} | '*'>\n \n \n

A set of CSS style properties.

\n\n \n
\n \n offset: number | null\n \n \n

A percentage of the total animate time at which the style is to be applied.

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