Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IItemOptions

Constructor options for item selection input dialogs

Hierarchy

Index

Properties

Optional cancelLabel

cancelLabel: string

Label for cancel button.

Optional checkbox

checkbox: Partial<ICheckbox>

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

Optional current

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.

Optional editable

editable: boolean

Is the item editable?

Optional host

host: HTMLElement

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

items

items: string[]

List of choices

Optional label

label: string

Label of the requested input

Optional okLabel

okLabel: string

Label for ok button.

Optional placeholder

placeholder: string

Placeholder text for editable input

Optional renderer

renderer: IRenderer

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

title

title: Header

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

Generated using TypeDoc