Common constructor options for input dialogs

interface IOptions {
    cancelLabel?: string;
    checkbox?: null | Partial<ICheckbox>;
    defaultButton?: number;
    host?: HTMLElement;
    label?: string;
    okLabel?: string;
    prefix?: string;
    renderer?: Dialog.IRenderer;
    suffix?: string;
    title: Header;

Hierarchy (view full)


cancelLabel?: string

Label for cancel button.

checkbox?: null | Partial<ICheckbox>

The checkbox to display in the footer. Defaults no checkbox.

defaultButton?: number

The index of the default button. Defaults to the last button.

The host element for the dialog. Defaults to document.body.

label?: string

Label of the requested input

okLabel?: string

Label for ok button.

prefix?: string

Additional prefix string preceding the input (e.g. £).

renderer?: Dialog.IRenderer

An optional renderer for dialog items. Defaults to a shared default renderer.

suffix?: string

Additional suffix string following the input (e.g. $).

title: Header

The top level text for the dialog. Defaults to an empty string.