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

    Class AbstractSettingsApplication<Model>Abstract

    A generic application to render a settings modal.

    Type Parameters

    • Model extends foundry.abstract.DataModel<any>

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

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

      Type Parameters

      • Model extends DataModel<any, null, any>

      Parameters

      • Optionaloptions: {}

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

      Returns AbstractSettingsApplication<Model>

    Properties

    fields: any
    settings: any
    settings: any

    Accessors

    • get model(): Model

      Returns Model

    Methods

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

    • Internal

      The event handler that is fired when the form is reset to its original values

      Parameters

      • event: Event

        The triggering event

      Returns Promise<void>