AnimationStyleMetadata
interface
deprecatedsince v20.2
Encapsulates an animation style. Instantiated and returned by
the style() function.
Deprecation warning
API
interface AnimationStyleMetadata extends AnimationMetadata { styles: "*" | { [key: string]: string | number; } | ("*" | { [key: string]: string | number; })[]; offset: number | null; override type: AnimationMetadataType;}
styles
"*" | { [key: string]: string | number; } | ("*" | { [key: string]: string | number; })[]A set of CSS style properties.
offset
number | nullA percentage of the total animate time at which the style is to be applied.
Jump to details