fix(animations): ensure web-animations are caught within the Angular zone
Closes #11881 Closes #11712 Closes #12355 Closes #11881 Closes #12546 Closes #12707 Closes #12774
This commit is contained in:

committed by
Victor Berchet

parent
6e35d13fbc
commit
f80a157b65
@ -40,4 +40,10 @@ export class MockDomAnimatePlayer implements DomAnimatePlayer {
|
||||
this._position = val;
|
||||
}
|
||||
get position(): number { return this._position; }
|
||||
addEventListener(eventName: string, handler: (event: any) => any): any {
|
||||
if (eventName == 'finish') {
|
||||
this.onfinish = handler;
|
||||
}
|
||||
}
|
||||
dispatchEvent(eventName: string): any {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user