Hierarchy

  • any
    • ScriptEditor

Constructors

Properties

_promises: {
    submit: never[];
}

Type declaration

  • submit: never[]
command: any
name: any
parent: any
script: any
DEFAULT_OPTIONS: {
    classes: string[];
    form: {
        closeOnSubmit: boolean;
        handler: ((event, form, formData) => Promise<void>);
    };
    position: {
        height: number;
        width: number;
    };
    sheetConfig: boolean;
    tag: string;
    window: {
        minimizable: boolean;
        resizable: boolean;
    };
} = ...

Type declaration

  • classes: string[]
  • form: {
        closeOnSubmit: boolean;
        handler: ((event, form, formData) => Promise<void>);
    }
    • closeOnSubmit: boolean
    • handler: ((event, form, formData) => Promise<void>)
        • (event, form, formData): Promise<void>
        • Private

          Update the object with the new change data from the form.

          Parameters

          • event: SubmitEvent

            The originating form submission event

          • form: HTMLFormElement

            The form element that was submitted

          • formData: FormDataExtended

            Processed data for the submitted form

          Returns Promise<void>

  • position: {
        height: number;
        width: number;
    }
    • height: number
    • width: number
  • sheetConfig: boolean
  • tag: string
  • window: {
        minimizable: boolean;
        resizable: boolean;
    }
    • minimizable: boolean
    • resizable: boolean
PARTS: {
    footer: {
        template: string;
    };
    form: {
        template: string;
    };
} = ...

Type declaration

  • footer: {
        template: string;
    }
    • template: string
  • form: {
        template: string;
    }
    • template: string
command: any
name: any

Accessors

Methods

  • Protected

    Attach event listeners to the rendered application form.

    Parameters

    • context: ApplicationRenderContext

      Prepared context data

    • options: RenderOptions

      Provided render options

    Returns void

  • Internal

    Returns Promise<{
        buttons: {
            icon: string;
            label: string;
            type: string;
        }[];
        command: any;
        name: any;
    }>

    Inherit Doc

    Async

  • Private

    Update the object with the new change data from the form.

    Parameters

    • event: SubmitEvent

      The originating form submission event

    • form: HTMLFormElement

      The form element that was submitted

    • formData: FormDataExtended

      Processed data for the submitted form

    Returns Promise<void>

Generated using TypeDoc