bga-dice
    Preparing search index...

    Interface AddDieToSlotSettings

    interface AddDieToSlotSettings {
        fadeIn?: boolean;
        forceToElement?: HTMLElement;
        fromElement?: HTMLElement;
        fromStock?: DiceStock<any>;
        index?: number;
        selectable?: boolean;
        slot?: SlotId;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    fadeIn?: boolean

    Indicates if we add a fade in effect when adding card (if it comes from an invisible or abstract element).

    forceToElement?: HTMLElement
    fromElement?: HTMLElement

    The element to move the die from.

    fromStock?: DiceStock<any>

    The stock to take the die. It will automatically remove the die from the other stock.

    index?: number

    Force die position. Default to end of list. Do not use if sort is defined, as it will override it.

    selectable?: boolean

    Set if the card is selectable. Default is true, but will be ignored if the stock is not selectable.

    slot?: SlotId

    The slot to place the die on.