An application that renders a form to configure the resting behavior of an Actor

The Actor instance for which to configure resting

Hierarchy

  • any
    • ActorRestDialog

Constructors

Properties

Accessors

Methods

Constructors

Properties

DEFAULT_OPTIONS: {
    classes: string[];
    form: {
        closeOnSubmit: boolean;
        handler: ((...this: any, event: SubmitEvent, form: HTMLFormElement, formData: FormDataExtended) => Promise<void>);
        submitOnChange: boolean;
    };
    position: {
        width: number;
    };
    sheetConfig: boolean;
    tag: string;
    window: {
        minimizable: boolean;
        resizable: boolean;
    };
} = ...

Type declaration

  • classes: string[]
  • form: {
        closeOnSubmit: boolean;
        handler: ((...this: any, event: SubmitEvent, form: HTMLFormElement, formData: FormDataExtended) => Promise<void>);
        submitOnChange: boolean;
    }
    • closeOnSubmit: boolean
    • handler: ((...this: any, event: SubmitEvent, form: HTMLFormElement, formData: FormDataExtended) => Promise<void>)
        • (...this, event, form, formData): Promise<void>
        • Internal

          Trigger the actor rest with the provided form input as options.

          Parameters

          • Rest...this: any
          • 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>

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

Accessors

Methods

  • Internal

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

  • Internal

    Trigger the actor rest with the provided form input as options.

    Parameters

    • Rest...this: any
    • 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>