Hierarchy

  • DocumentSheet
    • SkillEditor

Constructors

Properties

_callbacks: any[]
skillId: any
subSkillId: any

Accessors

  • get defaultOptions(): {
        classes: string[];
        closeOnSubmit: boolean;
        dragDrop: { dragSelector: null; dropSelector: string }[];
        sheetConfig: boolean;
        submitOnChange: boolean;
        submitOnClose: boolean;
        template: string;
        width: number;
    }
  • Returns {
        classes: string[];
        closeOnSubmit: boolean;
        dragDrop: { dragSelector: null; dropSelector: string }[];
        sheetConfig: boolean;
        submitOnChange: boolean;
        submitOnClose: boolean;
        template: string;
        width: number;
    }

    foundry.utils.mergeObject(super.defaultOptions, {
    classes: ["sheet"],
    template: `templates/sheets/${this.name.toLowerCase()}.html`,
    viewPermission: CONST.DOCUMENT_PERMISSION_LEVELS.LIMITED,
    sheetConfig: true
    });

Methods

  • Internal

    Callback actions which occur when a dragged element is dropped on a target.

    Parameters

    • event: any

      The originating DragEvent

    Returns Promise<void>

  • Returns Promise<Data<Document<any, any, Metadata<any>>, DocumentSheetOptions>>