- animateCache(): {
cacheKey(node: HTMLElement, method: string, addClass?: string, removeClass?: string): string;
containsCachedAnimationWithoutDuration(key: string): boolean;
count(key: string): number;
flush(): void;
get(key: string): any;
put(key: string, value: any, isValid: boolean): void;
} Returns {
cacheKey(node: HTMLElement, method: string, addClass?: string, removeClass?: string): string;
containsCachedAnimationWithoutDuration(key: string): boolean;
count(key: string): number;
flush(): void;
get(key: string): any;
put(key: string, value: any, isValid: boolean): void;
}
cacheKey:function
- cacheKey(node, method, addClass?, removeClass?): string
Parameters
- node: HTMLElement
- method: string
Optional
addClass: stringOptional
removeClass: string
Returns string
containsCachedAnimationWithoutDuration:function
- containsCachedAnimationWithoutDuration(key): boolean
Returns boolean
- True if an invalid animation is cached, false otherwise.
count:function
- count(key): number
Returns number
- The count of the cache entry.
flush:function
- flush(): void
Returns void
get:function
- get(key): any
Returns any
- The value associated with the cache key.
put:function
- put(key, value, isValid): void
Parameters
- key: string
- value: any
- isValid: boolean
Returns void
Generates a unique cache key based on the node's parent and other parameters.