bga-cards
    Preparing search index...

    Interface FlipCardSettings

    interface FlipCardSettings {
        updateBack?: boolean;
        updateBackDelay?: number;
        updateData?: boolean;
        updateFront?: boolean;
        updateFrontDelay?: number;
        updateMain?: boolean;
        updateMainDelay?: number;
    }
    Index

    Properties

    updateBack?: boolean

    Updates the back display, by calling setupBackDiv. The new data is the card passed as the first argument of the setCardVisible / flipCard method. Default false

    updateBackDelay?: number

    Delay before updateBackDelay (in ms). Allow the card back to be visible during the flip animation. Default 0

    updateData?: boolean

    Updates the data of the flipped card, so the stock containing it will return the new data when using getCards(). The new data is the card passed as the first argument of the setCardVisible / flipCard method. Default true

    updateFront?: boolean

    Updates the front display, by calling setupFrontDiv. The new data is the card passed as the first argument of the setCardVisible / flipCard method. Default true

    updateFrontDelay?: number

    Delay before updateFront (in ms). Allow the card front to be visible during the flip animation. Default 500

    updateMain?: boolean

    Updates the main div display, by calling setupDiv. Default true

    updateMainDelay?: number

    Delay before updateMain (in ms). Allow the card main div setting to be visible during the flip animation. Default 0.