Skip to main content

ClubCardActiveAnimation

Represents an active card animation in progress.

Index

Properties

Card

Card: ClubCard

The card being animated.

Duration

Duration: number

Total animation duration in milliseconds.

EndPosition

EndPosition: { w: number; x: number; y: number }

Target position of the card.


Type declaration

  • w: number
  • x: number
  • y: number

HideOriginal

HideOriginal: boolean

Whether to hide the original card during animation.

KeepOriginalHidden

KeepOriginalHidden: boolean

Whether the original card should stay hidden after animation completes.

optionalOnComplete

OnComplete?: Function

Callback function called when the animation completes.

optionalOriginalCard

OriginalCard?: ClubCard

The original card (if a copy is animated).

Priority

Priority: number

Animation rendering level priority

SafetyTimeout

SafetyTimeout: number

Timeout ID for fallback handling (used to restore the card state in case of failure).

StartPosition

StartPosition: { w: number; x: number; y: number }

Initial position of the card.


Type declaration

  • w: number
  • x: number
  • y: number

StartTime

StartTime: number

Timestamp when the animation started (in milliseconds).