feat(animations): make sure animation callback reports the totalTime (#11022)
Closes #11022
This commit is contained in:

committed by
Victor Berchet

parent
8b782818f5
commit
4f8f8cfc66
12
tools/public_api_guard/core/index.d.ts
vendored
12
tools/public_api_guard/core/index.d.ts
vendored
@ -113,6 +113,18 @@ export declare class AnimationStyleMetadata extends AnimationMetadata {
|
||||
}>, offset?: number);
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare class AnimationTransitionEvent {
|
||||
fromState: string;
|
||||
toState: string;
|
||||
totalTime: number;
|
||||
constructor({fromState, toState, totalTime}: {
|
||||
fromState: string;
|
||||
toState: string;
|
||||
totalTime: number;
|
||||
});
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare abstract class AnimationWithStepsMetadata extends AnimationMetadata {
|
||||
steps: AnimationMetadata[];
|
||||
|
Reference in New Issue
Block a user