ITextOptions | @jupyterlab (original) (raw)
Constructor options for text input dialogs
Hierarchy (View Summary)
- InputDialog.IOptions
- ITextOptions
Index
Properties
Optional
cancelLabel
cancelLabel?: string
Label for cancel button.
Optional
checkbox
The checkbox to display in the footer. Defaults no checkbox.
Optional
defaultButton
defaultButton?: number
The index of the default button. Defaults to the last button.
Optional
host
The host element for the dialog. Defaults to document.body
.
Optional
label
label?: string
Label of the requested input
Optional
okLabel
okLabel?: string
Label for ok button.
Optional
pattern
pattern?: string
Pattern used by the browser to validate the input value.
Optional
placeholder
placeholder?: string
Placeholder text
Optional
prefix
prefix?: string
Additional prefix string preceding the input (e.g. £).
Optional
renderer
An optional renderer for dialog items. Defaults to a shared default renderer.
Optional
required
required?: boolean
Whether the input is required (has to be non-empty).
Optional
selectionRange
selectionRange?: number
Optional
suffix
suffix?: string
Additional suffix string following the input (e.g. $).
Optional
text
text?: string
Default input text
title
The top level text for the dialog. Defaults to an empty string.