A generic application to render a settings modal.

Hierarchy (view full)

Constructors

Properties

settings: any
tabGroups: {
    primary: string;
} = ...
tabs: {
    primary: {
        base: {
            icon: string;
            label: string;
        };
        variant: {
            icon: string;
            label: string;
        };
    };
} = ...
DEFAULT_OPTIONS: {
    configKey: string;
    model: typeof HealthConfigModel;
    phraseKey: string;
    window: {
        icon: string;
    };
} = ...
PARTS: {
    footer: {
        template: string;
    };
    form: {
        template: string;
    };
    tabs: {
        template: string;
    };
} = ...
settings: any

Accessors

Methods

  • Internal

    Update the game settings with the new configuration

    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>