Pathfinder 1e for Foundry VTT
    Preparing search index...

    A generic application to render a settings modal.

    Hierarchy (View Summary)

    Index

    Constructors

    • Applications are constructed by providing an object of configuration options.

      Parameters

      • Optionaloptions: {}

        Options used to configure the Application instance (default: {})

      Returns HealthConfig

    Properties

    fields: any
    settings: any
    tabGroups: { actor: string } = ...

    If this Application uses tabbed navigation groups, this mapping is updated whenever the changeTab method is called. Reports the active tab for each group, with a value of null indicating no tab is active. Subclasses may override this property to define default tabs for each group.

    tabs: {
        actor: {
            npc: { icon: string; label: string };
            pc: { icon: string; label: string };
        };
    } = ...
    DEFAULT_OPTIONS: {
        configKey: string;
        model: typeof HealthConfigModel;
        phraseKey: string;
        window: { icon: string };
    } = ...
    PARTS: {
        footer: { template: string };
        form: { template: string; templates: string[] };
    } = ...

    Configure a registry of template parts which are supported for this application for partial rendering.

    {}

    settings: any

    Accessors

    Methods

    • Initialize the configuration for this application. Override the default ID to be unique to this settings app instance and tack on extra class.

      Parameters

      • options: ApplicationConfiguration

        The provided configuration options for the Application

      Returns ApplicationConfiguration

      The final configuration values for the application

    • Internal

      Update the game settings with the new configuration

      Parameters

      • ...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

        • object

          The form data in object form

      Returns Promise<void>