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

    Class FlagSelector

    A trait selector variant that reads and stores information into an object with boolean values.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _collator: Collator = pf1.utils.i18n.sortCollator

    Collator for sorting

    attributes: { custom: Set<any>; standard: Set<any> }

    The currently stored values for this trait selector

    DEFAULT_OPTIONS: { form: { handler: Object } } = ...
    PARTS: {
        footer: { template: string };
        form: { scrollable: string[]; template: string };
    } = ...
    SEARCH_INCLUDE_ID: boolean = true

    Include language agnostic ID in search.

    Accessors

    Methods

    • Internal

      The event handler for changes to form input elements

      Parameters

      • _formConfig: ApplicationFormConfiguration

        The configuration of the form being changed

      • _event: Event

        The triggering event

      Returns void

    • Protected

      Attach event listeners to the rendered application form.

      Parameters

      • context: ApplicationRenderContext

        Prepared context data

      • options: RenderOptions

        Provided render options

      Returns void

    • Protected

      Parameters

      • partId: any

      Returns Promise<
          | undefined
          | {
              buttons?: undefined;
              choices: any;
              cssClass: string;
              custom: any[];
              editable: boolean;
              hasCustom: any;
              hideSearch: boolean;
              search: string;
          }
          | {
              buttons?: undefined;
              choices?: undefined;
              cssClass?: undefined;
              custom?: undefined;
              editable?: undefined;
              hasCustom?: undefined;
              hideSearch?: undefined;
              search?: undefined;
          }
          | {
              buttons: { icon: string; label: string; type: string }[];
              choices?: undefined;
              cssClass?: undefined;
              custom?: undefined;
              editable?: undefined;
              hasCustom?: undefined;
              hideSearch?: undefined;
              search?: undefined;
          },
      >