A textbox that enables the user to input text information.

ui.Textbox(placeholder, value, onChange, disabled, style)ui.Textbox
placeholderString, optional

The placeholder text to display when the textbox is empty. Defaults to none.

valueString, optional

The textbox's value. Defaults to none.

onChangeFunction, optional

The callback to fire when the text changes. The callback is passed the text currently in the textbox and the textbox widget.

disabledBoolean, optional

Whether the textbox is disabled. Defaults to false.

styleObject, optional

An object of allowed CSS styles with their values to be set for this widget. See style() documentation.