A specialized form application for selecting an Actor from a list of available choices

Used for example with gift item.

Hierarchy (View Summary)

Constructors

Properties

DEFAULT_OPTIONS: {
    actors: undefined;
    ownership: undefined;
    selected: null;
    window: { icon: string; title: string };
} = ...
PARTS: {
    footer: { template: string };
    form: { scrollable: string[]; template: string };
} = ...

Accessors

Methods

  • Internal

    Returns Promise<
        {
            buttons: { label: string; type: string }[];
            document: any;
            empty: {
                document: { id: string; img: string; name: string };
                include: any;
            };
            searchTerm: any;
            sections: DocumentSelectorSection[];
            selected: string;
            showSectionHeaders: boolean;
        },
    >

  • Render selector and wait for it to resolve.

    Parameters

    • options: object

      Options

    Returns Promise<null | string | false | Document<any, null, Metadata<any>>>

    • Document or string for selected item, null if cancelled, or false or empty string if none were selected.