docs(animations): add documentation for new animation features
This commit is contained in:
@ -19,11 +19,6 @@ export declare type AnimateTimings = {
|
||||
/** @experimental */
|
||||
export declare function animation(steps: AnimationMetadata | AnimationMetadata[], options?: AnimationOptions | null): AnimationReferenceMetadata;
|
||||
|
||||
/** @experimental */
|
||||
export declare abstract class Animation {
|
||||
abstract create(element: any, options?: AnimationOptions): AnimationPlayer;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export interface AnimationAnimateChildMetadata extends AnimationMetadata {
|
||||
options: AnimationOptions | null;
|
||||
@ -43,7 +38,7 @@ export interface AnimationAnimateRefMetadata extends AnimationMetadata {
|
||||
|
||||
/** @experimental */
|
||||
export declare abstract class AnimationBuilder {
|
||||
abstract build(animation: AnimationMetadata | AnimationMetadata[]): Animation;
|
||||
abstract build(animation: AnimationMetadata | AnimationMetadata[]): AnimationFactory;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
@ -56,6 +51,11 @@ export interface AnimationEvent {
|
||||
triggerName: string;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare abstract class AnimationFactory {
|
||||
abstract create(element: any, options?: AnimationOptions): AnimationPlayer;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export interface AnimationGroupMetadata extends AnimationMetadata {
|
||||
options: AnimationOptions | null;
|
||||
|
Reference in New Issue
Block a user