OptionalcancelLabel for cancel button.
OptionalcheckboxThe checkbox to display in the footer. Defaults no checkbox.
OptionaldefaultThe index of the default button. Defaults to the last button.
OptionalhostThe host element for the dialog. Defaults to document.body.
OptionallabelLabel of the requested input
OptionalokLabel for ok button.
OptionalpatternPattern used by the browser to validate the input value.
OptionalplaceholderPlaceholder text
OptionalprefixAdditional prefix string preceding the input (e.g. £).
OptionalrendererAn optional renderer for dialog items. Defaults to a shared default renderer.
OptionalrequiredWhether the input is required (has to be non-empty).
OptionalselectionSelection range
Number of characters to pre-select when dialog opens. Default is to select the whole input text if present.
OptionalsuffixAdditional suffix string following the input (e.g. $).
OptionaltextDefault input text
The top level text for the dialog. Defaults to an empty string.
Constructor options for text input dialogs