Optional animationOptional animationA function called when animation ends.
Optional animationA function called when animation starts (for example to add a zoom effect on a card during a reveal animation).
Optional durationThe animation duration, in ms (default: 500).
Optional elementThe element to animate.
Optional gameThe game class. Used to know if the game is in instantaneous mode (replay) becausewe don't want animations in this case.
Optional scaleThe cumulated scale of the element to animate (default: 1).
Optional transitionThe animation CSS timing function, 'linear', 'ease-in-out' (default: linear).
Generated using TypeDoc
The class to add to the animated element.