AnimationStyleMetadata
Инкапсулирует стиль анимации. Создается и возвращается функцией style().
Предупреждение об устаревании
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; })[]Набор свойств CSS.
offset
number | nullПроцент от общей длительности анимации, в который применяется стиль.
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/AnimationStyleMetadata