IItemOptions | @jupyterlab (original) (raw)

Constructor options for item selection input dialogs

Hierarchy (View Summary)

Index

Properties

OptionalcancelLabel

cancelLabel?: string

Label for cancel button.

Optionalcheckbox

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

Optionalcurrent

current?: string | number

OptionaldefaultButton

defaultButton?: number

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

Optionaleditable

editable?: boolean

Is the item editable?

Optionalhost

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

items

items: string[]

List of choices

Optionallabel

label?: string

Label of the requested input

OptionalokLabel

okLabel?: string

Label for ok button.

Optionalplaceholder

placeholder?: string

Placeholder text for editable input

Optionalprefix

prefix?: string

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

Optionalrenderer

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

Optionalsuffix

suffix?: string

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

title

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