bga-cards
    Preparing search index...

    Interface ShuffleAnimationSettings<T>

    interface ShuffleAnimationSettings<T> {
        animatedCardsMax?: number;
        fakeCardSetter?: (card: T, index: number) => void;
        pauseDelayAfterAnimation?: number;
    }

    Type Parameters

    • T
    Index

    Properties

    animatedCardsMax?: number

    Number of cards used for the animation (will use cardNumber is inferior to this number). Default: 10.

    fakeCardSetter?: (card: T, index: number) => void

    Card generator for the animated card. Should only show the back of the cards. Default if fakeCardGenerator from Deck (or Manager if unset in Deck).

    pauseDelayAfterAnimation?: number

    Time to wait after shuffle, in case it is chained with other animations, to let the time to understand it's 2 different animations. Default is 500ms.