Item picker widget.

Hierarchy

  • any
    • Widget_CategorizedItemPicker

Constructors

Properties

_cancelCallback: undefined | {}
_hiddenElems: {}

Track hidden elements of the sheet.

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;
    };
} = ...
PARTS: {
    form: {
        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