mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix(animation): properties can be cleared after animation finishes (#19155)
* remove certain properties when done animating * fix bug, add more tests * clean up * bug fix
This commit is contained in:
@ -16,8 +16,8 @@ export interface Animation {
|
||||
progressEnd(shouldComplete: boolean, step: number, dur: number | undefined): Animation;
|
||||
|
||||
from(property: string, value: any): Animation;
|
||||
to(property: string, value: any): Animation;
|
||||
fromTo(property: string, fromValue: any, toValue: any): Animation;
|
||||
to(property: string, value: any, clearAfterAnimation?: boolean): Animation;
|
||||
fromTo(property: string, fromValue: any, toValue: any, clearAfterAnimation?: boolean): Animation;
|
||||
keyframes(keyframes: any[]): Animation;
|
||||
|
||||
addAnimation(animationToADd: Animation | Animation[] | undefined | null): Animation;
|
||||
|
Reference in New Issue
Block a user