Shakes the stat element if shouldShake is true, otherwise removes the shake class.
shouldShake
shake
When adding the shake class, removes it after 250 ms.
Generated using TypeDoc
Shakes the stat element if
shouldShake
is true, otherwise removes theshake
class.When adding the
shake
class, removes it after 250 ms.