feat(animations): expose the triggerName within the transition event

Closes #13600
This commit is contained in:
Matias Niemelä
2016-12-20 16:02:50 -08:00
parent 4bae4b3bb5
commit 3f67ab074a
6 changed files with 64 additions and 9 deletions

View File

@ -113,12 +113,14 @@ export declare class AnimationTransitionEvent {
phaseName: string;
toState: string;
totalTime: number;
constructor({fromState, toState, totalTime, phaseName, element}: {
triggerName: string;
constructor({fromState, toState, totalTime, phaseName, element, triggerName}: {
fromState: string;
toState: string;
totalTime: number;
phaseName: string;
element: any;
triggerName: string;
});
}