Constructor options for text input dialogs



cancelLabel?: string

Label for cancel button.

checkbox?: Partial<ICheckbox>

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

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

label?: string

Label of the requested input

okLabel?: string

Label for ok button.

placeholder?: string

Placeholder text

renderer?: Dialog.IRenderer

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

selectionRange?: number

Selection range

Number of characters to pre-select when dialog opens. Default is to select the whole input text if present.

text?: string

Default input text

title: Header

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

Generated using TypeDoc