bga-cards
    Preparing search index...

    Interface CardCounterSettings

    interface CardCounterSettings {
        counterId?: string;
        extraClasses?: string;
        hideWhenEmpty?: boolean;
        position?: SideOrAngleOrCenter;
        show?: boolean;
        size?: number;
    }
    Index

    Properties

    counterId?: string

    Set a counter id if you want to set a tooltip on it, for example. Default unset.

    extraClasses?: string

    Classes to add to counter (separated with spaces). Pre-built are round and text-shadow. Default round.

    hideWhenEmpty?: boolean

    Show the counter when empty. Default true.

    Counter position. Default 'bottom'.

    show?: boolean

    Show a card counter on the deck. Default true.

    size?: number

    Define the size of the counter, as a percentage of the dimensions of the card. Default 10.