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

    Class ActionSelector

    Hierarchy

    • HandlebarsApplication<this> & DocumentSheetV2<
          any,
          RenderContext<any>,
          Configuration<any>,
          RenderOptions,
          this,
      >
      • ActionSelector
    Index

    Constructors

    • Parameters

      • Optionaloptions: {}

      Returns ActionSelector

    Properties

    DEFAULT_OPTIONS: {
        actions: { click: (event: any) => void };
        classes: string[];
        position: { width: number };
        sheetConfig: boolean;
        window: { icon: string; minimizable: boolean; resizable: boolean };
    } = ...
    PARTS: { form: { template: string } } = ...

    Accessors

    Methods

    • Close the Application, removing it from the DOM.

      Parameters

      • ...args: any[]

      Returns void

      A Promise which resolves to the closed Application instance

    • A generic event handler for action clicks which can be extended by subclasses. Action handlers defined in DEFAULT_OPTIONS are called first. This method is only called for actions which have no defined handler.

      Parameters

      • event: any

        The originating click event

      Returns void

    • Parameters

      • options: { document: ItemPF }

        Options

        • document: ItemPF

          Item to select action for.

      Returns Promise<undefined | object | ChatMessage<"base" | ModuleSubType>>

      • Result of ItemPF.use() for selected action