• 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
      • Generates a unique cache key based on the node's parent and other parameters.

        Parameters

        • node: HTMLElement

          The DOM node to generate the cache key for.

        • method: string

          The animation method being applied.

        • OptionaladdClass: string

          Class to add during the animation.

        • OptionalremoveClass: string

          Class to remove during the animation.

        Returns string

        • The generated cache key.
    • containsCachedAnimationWithoutDuration:function
      • Checks if a cached animation without a duration exists.

        Parameters

        • key: string

          The cache key to check.

        Returns boolean

        • True if an invalid animation is cached, false otherwise.
    • count:function
      • Gets the count of a specific cache entry.

        Parameters

        • key: string

          The cache key to count.

        Returns number

        • The count of the cache entry.
    • flush:function
    • get:function
      • Retrieves a value associated with a specific cache key.

        Parameters

        • key: string

          The cache key to retrieve.

        Returns any

        • The value associated with the cache key.
    • put:function
      • Adds or updates a cache entry.

        Parameters

        • key: string

          The cache key to add or update.

        • value: any

          The value to store.

        • isValid: boolean

          Whether the cache entry is valid.

        Returns void