feat(animation): add option to clean up old animation stylesheets (#20940)

fixes #20610
This commit is contained in:
Liam DeBeasi
2020-04-03 09:28:41 -04:00
committed by GitHub
parent 4e28445ecb
commit 5b9840508f
2 changed files with 9 additions and 8 deletions

View File

@ -27,7 +27,7 @@ export interface Animation {
/**
* Destroy the animation and all child animations.
*/
destroy(): void;
destroy(clearStyleSheets?: boolean): void;
progressStart(forceLinearEasing: boolean, step?: number): void;
progressStep(step: number): void;