angular2
Version:
Angular 2 - a web framework for modern web apps
21 lines (20 loc) • 677 B
TypeScript
export declare class CssAnimationOptions {
/** initial styles for the element */
fromStyles: {
[key: string]: any;
};
/** destination styles for the element */
toStyles: {
[key: string]: any;
};
/** classes to be added to the element */
classesToAdd: string[];
/** classes to be removed from the element */
classesToRemove: string[];
/** classes to be added for the duration of the animation */
animationClasses: string[];
/** override the duration of the animation (in milliseconds) */
duration: number;
/** override the transition delay (in milliseconds) */
delay: number;
}