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

    An application that lets the user select the sources that are allowed to be imported into the game.

    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 SourcesConfig

    Properties

    fields: any
    settings: any
    settings: any

    Accessors

    • get model(): Model

      Returns Model

    Methods

    • Protected

      Filter the list of sources based on the search query (name or ID).

      Parameters

      • event: Event

        The originating change event.

      • query: string

        The search query.

      • rgx: RegExp

        The search regex.

      • content: HTMLElement

        The content element.

      Returns void

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

    • Protected

      Select / Unselect all sources.

      Parameters

      • event: PointerEvent

        The originating click event

      • _target: HTMLElement

        the capturing HTML element which defined a [data-action]

      Returns void