refactor(animations): single animation engine code pass
This commit is contained in:

committed by
Jason Aden

parent
16c8167886
commit
8a6eb1ac78
@ -21,10 +21,14 @@ export declare type AnimateTimings = {
|
||||
*/
|
||||
export declare interface AnimationOptions {
|
||||
delay?: number|string;
|
||||
duration?: number|string;
|
||||
params?: {[name: string]: any};
|
||||
}
|
||||
|
||||
/**
|
||||
* @experimental Animation support is experimental.
|
||||
*/
|
||||
export declare interface AnimateChildOptions extends AnimationOptions { duration?: number|string; }
|
||||
|
||||
/**
|
||||
* @experimental Animation support is experimental.
|
||||
*/
|
||||
@ -635,7 +639,7 @@ export function animation(
|
||||
/**
|
||||
* @experimental Animation support is experimental.
|
||||
*/
|
||||
export function animateChild(options: AnimationOptions | null = null):
|
||||
export function animateChild(options: AnimateChildOptions | null = null):
|
||||
AnimationAnimateChildMetadata {
|
||||
return {type: AnimationMetadataType.AnimateChild, options};
|
||||
}
|
||||
|
Reference in New Issue
Block a user