Hierarchy

  • DocumentSheet
    • ContentSourceEditor

Constructors

  • Parameters

    • object: Document<any, any, Metadata<any>>

      Some object or entity which is the target to be updated.

    • Optional options: Partial<DocumentSheetOptions>

      Additional options which modify the rendering of the sheet. (default: {})

    Returns ContentSourceEditor

    Remarks

    Foundry allows passing no value to the constructor at all.

  • Parameters

    • Rest ...args: [Document<any, any, Metadata<any>>, Partial<DocumentSheetOptions>?]

    Returns ContentSourceEditor

Accessors

  • get defaultOptions(): {
        classes: string[];
        closeOnSubmit: boolean;
        dragDrop: {
            dragSelector: string;
            dropSelector: null;
        }[];
        height: string;
        resizable: boolean;
        sheetConfig: boolean;
        submitOnChange: boolean;
        submitOnClose: boolean;
        tabs: {
            contentSelector: string;
            group: string;
            navSelector: string;
        }[];
        width: number;
    }
  • Returns {
        classes: string[];
        closeOnSubmit: boolean;
        dragDrop: {
            dragSelector: string;
            dropSelector: null;
        }[];
        height: string;
        resizable: boolean;
        sheetConfig: boolean;
        submitOnChange: boolean;
        submitOnClose: boolean;
        tabs: {
            contentSelector: string;
            group: string;
            navSelector: string;
        }[];
        width: number;
    }

    • classes: string[]
    • closeOnSubmit: boolean
    • dragDrop: {
          dragSelector: string;
          dropSelector: null;
      }[]
    • height: string
    • resizable: boolean
    • sheetConfig: boolean
    • submitOnChange: boolean
    • submitOnClose: boolean
    • tabs: {
          contentSelector: string;
          group: string;
          navSelector: string;
      }[]
    • width: number

Methods

  • Internal

    Handle content source drop

    Parameters

    • event: DragEvent
    • dropData: object

    Returns Promise<void>

    Remarks

    • Does not work correctly when dealing with
  • Parameters

    • event: any
    • updateData: any

    Returns Promise<undefined | Document<any, any, Metadata<any>>>

Generated using TypeDoc