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

    Class CategorizedItemPicker

    Target selector for changes

    Hierarchy

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

    Constructors

    Properties

    events: { cancel: (event: any) => void } = ...
    DEFAULT_OPTIONS: {
        actions: { item: Object };
        classes: string[];
        position: { height: number; width: number };
        window: { icon: string; minimizable: boolean; resizable: boolean };
    } = ...
    PARTS: { dialog: { template: string } } = ...

    Accessors

    Methods

    • Actions performed after closing the Application. Post-close steps are not awaited by the close process.

      Parameters

      • options: any

        Provided render options

      Returns void

    • Parameters

      • ...this: any
      • context: any
      • options: any

      Returns Promise<void>

    • Protected

      Attach event listeners to the rendered application form.

      Parameters

      • context: ApplicationRenderContext

        Prepared context data

      • options: RenderOptions

        Provided render options

      Returns void

    • Open configured item picker

      Parameters

      • options: { categories: any; render?: object; selected: object } = {}
        • categories: any
        • Optionalrender?: object

          Optional render options

        • selected: object

      Returns Promise<null | string>

      • Selected option or null