• Shakes the stat element if shouldShake is true, otherwise removes the shake class.

    When adding the shake class, removes it after 250 ms.

    Parameters

    • shouldShake: boolean
    • statElement: default<HTMLElement>

    Returns Promise<void>

Generated using TypeDoc