Class: TextBox

Kekule.Widget. TextBox

new TextBox()

An general text box widget.
Properties:
Name Type Description
text String Text in textbox.
placeholder String Placeholder text of text box.
Source:

Extends

Methods

selectAll()

Select all content in widget.
Inherited From:
Source:

Events

buttonExecute

Invoked when button in widget is executed. Event param of it has field: {widget: this (not button)}
Inherited From:
Source:

valueChange

Invoked when the value of form control element is changed by user. This event will actually be fired when "change" event occurs on form element. Instead of simply "change", the event name is "valueChange" to avoid conflict with change event of ObjectEx. event param of it has field: {widget}
Inherited From:
Source:

Kekule.Widget. TextBox

Methods

selectAll()

Select all content in widget.
Inherited From:
Source:

Events

buttonExecute

Invoked when button in widget is executed. Event param of it has field: {widget: this (not button)}
Inherited From:
Source:

valueChange

Invoked when the value of form control element is changed by user. This event will actually be fired when "change" event occurs on form element. Instead of simply "change", the event name is "valueChange" to avoid conflict with change event of ObjectEx. event param of it has field: {widget}
Inherited From:
Source: