ClubCardMoveCard
Callable
Parameters
card: ClubCard
The card being moved.
priority: number
Animation rendering level priority
startPosition: ClubCardPosition
The starting position {x, y, w}.
endPosition: ClubCardPosition
The target position {x, y, w}.
hideOriginal: boolean = false
Whether to hide the original card during animation.
keepOriginalHidden: boolean = false
If true, the original card stays hidden after animation.
optionalonStart: () => void = null
Function called before the animation starts.
optionalonComplete: (card) => void = null
Function called after the animation completes.
optionalduration: number = 150
Animation duration in milliseconds.
Returns void
Moves a card between predefined positions (Preview, Hand, Pending). Handles both animation of a copy and visibility of the original card.