Item picker widget.

Hierarchy

  • any
    • Widget_CategorizedItemPicker

Constructors

Properties

_cancelCallback: undefined | ((event) => void)

Type declaration

    • (event): void
    • Private

      Handle click outside the widget.

      Parameters

      • event: Event

      Returns void

_hiddenElems: {}

Track hidden elements of the sheet.

Type declaration

    callback: Function

    Callback fired when an item has been selected.

    Objects containing category and item data.

    selected: object

    Previously selected category and item

    DEFAULT_OPTIONS: {
        classes: string[];
        position: {
            height: number;
            width: number;
        };
        sheetConfig: boolean;
        tag: string;
        window: {
            minimizable: boolean;
            resizable: boolean;
        };
    } = ...

    Type declaration

    • classes: string[]
    • position: {
          height: number;
          width: number;
      }
      • height: number
      • width: number
    • sheetConfig: boolean
    • tag: string
    • window: {
          minimizable: boolean;
          resizable: boolean;
      }
      • minimizable: boolean
      • resizable: boolean
    PARTS: {
        form: {
            template: string;
        };
    } = ...

    Type declaration

    • form: {
          template: string;
      }
      • template: string

    Methods

    • Protected

      Attach event listeners to the rendered application form.

      Parameters

      • context: ApplicationRenderContext

        Prepared context data

      • options: RenderOptions

        Provided render options

      Returns void

    Generated using TypeDoc