Constructor options for item selection input dialogs

Hierarchy

Properties

cancelLabel?: string

Label for cancel button.

checkbox?: Partial<ICheckbox>

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

current?: string | number

Default choice

If the list is editable a string with a default value can be provided otherwise the index of the default choice should be given.

editable?: boolean

Is the item editable?

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

items: string[]

List of choices

label?: string

Label of the requested input

okLabel?: string

Label for ok button.

placeholder?: string

Placeholder text for editable input

renderer?: Dialog.IRenderer

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

title: Header

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

Generated using TypeDoc