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

    Class ScriptEditor

    Hierarchy

    • HandlebarsApplication<this> & ApplicationV2<
          RenderContext,
          Configuration,
          RenderOptions,
          this,
      >
      • ScriptEditor
    Index

    Constructors

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

      Parameters

      • Optionaloptions: {}

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

      Returns ScriptEditor

    Accessors

    • get category(): ScriptCallCategory

      Returns ScriptCallCategory

      • The category of this script
    • get isEditable(): boolean

      Is this script editable by the current User? This is governed by the editPermission threshold configured for the class.

      Returns boolean

    • get item(): ItemPF

      Returns ItemPF

      • The item the scriptCall belongs to
    • get promise(): Promise<any>

      Returns Promise<any>

    • get validCategories(): ScriptCallCategory[]

      Returns ScriptCallCategory[]

      • A list of valid categories for this script

    Methods

    • Protected

      Disable or reenable all form fields in this application.

      Parameters

      • disabled: boolean

        Should the fields be disabled?

      Returns void

    • Returns Promise<unknown>

    • Parameters

      • event: any
      • button: any

      Returns Promise<void>

    • Parameters

      • options: any

      Returns Promise<any>