Body, Mind & Soul — API Reference
    Preparing search index...

    Class BodyMindSoulCardConfig

    Hierarchy

    • (Anonymous class)<this>
      • BodyMindSoulCardConfig

    Indexable

    • [key: string]: any
    Index
    _openConfigPanels: Set<any> = ...

    Set of condition/outcome IDs whose inline config panel is currently expanded.

    DEFAULT_OPTIONS: {
        actions: {
            addCondition: (event: any, target: any) => Promise<void>;
            addOutcome: (event: any, target: any) => Promise<void>;
            addSubCondition: (event: any, target: any) => Promise<void>;
            addTrigger: (event: any, target: any) => Promise<void>;
            configureCondition: (event: any, target: any) => Promise<void>;
            configureOutcome: (event: any, target: any) => Promise<void>;
            configureSubCondition: (event: any, target: any) => Promise<void>;
            deleteCondition: (event: any, target: any) => Promise<void>;
            deleteOutcome: (event: any, target: any) => Promise<void>;
            deleteSubCondition: (event: any, target: any) => Promise<void>;
            deleteTrigger: (event: any, target: any) => Promise<void>;
            importTrigger: (event: any, target: any) => void;
            toggleConfigPanel: (event: any, target: any) => void;
        };
        classes: string[];
    } = ...
    PARTS: any = ...
    TABS: {
        primary: {
            initial: string;
            labelPrefix: string;
            tabs: { id: string }[];
        };
    } = ...
    TEMPLATE_ROOT: string = "systems/body-mind-and-soul/templates/cards/card"
    • Parameters

      • partId: any
      • htmlElement: any
      • options: any

      Returns void

    • Attach combobox wiring and change-dispatcher to a rendered triggers part.

      Parameters

      • htmlElement: HTMLElement

        The rendered triggers part element

      • Optionaloptions: { includeTargetMode?: boolean } = {}
        • OptionalincludeTargetMode?: boolean

          Wire the targetMode field (card sheets only)

      Returns void

    • Parameters

      • event: any
      • effect: any

      Returns Promise<any>

    • Parameters

      • event: any
      • target: any

      Returns void

    • Parameters

      • options: any

      Returns Promise<any>

    • Parameters

      • partId: any
      • context: any
      • options: any

      Returns Promise<any>

    • Parameters

      • context: any

      Returns void