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

    document: ActorPF | ItemPF
    trait: any

    Currently stored values

    SEARCH_INCLUDE_ID: boolean = true

    Include language agnostic ID in search.

    Accessors

    • get path(): string

      Data path to the trait

      Returns string

    • get promise(): Promise<any>

      Returns Promise<any>

    Methods

    • Internal

      The event handler for active keystrokes on the input field.

      Parameters

      • event: Event

        The originating keydown event

      Returns void

    • Internal

      The event handler for custom field input.

      Parameters

      • event: Event

        The originating input event

      Returns void

    • Split a given value based on the configured separator

      Parameters

      • value: string

        The value to split

      Returns string[]

      The split values, with empty values filtered out