2015-08-28 14:39:34 -07:00
|
|
|
export class CssAnimationOptions {
|
|
|
|
/** initial styles for the element */
|
2015-10-02 16:47:54 -07:00
|
|
|
fromStyles: {[key: string]: any};
|
2015-08-28 14:39:34 -07:00
|
|
|
|
|
|
|
/** destination styles for the element */
|
2015-10-02 16:47:54 -07:00
|
|
|
toStyles: {[key: string]: any};
|
2015-08-28 14:39:34 -07:00
|
|
|
|
|
|
|
/** 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;
|
|
|
|
}
|