new TextArea()
An general text area widget.
Properties:
Name | Type | Description |
---|---|---|
text |
String | Text in textarea. |
placeholder |
String | Placeholder text of text box. //@property {Int} rows Rows in textarea. //@property {Int} cols Cols in textarea. |
wrap |
String | Wrap mode of textarea, value between "physical", "virtual" and "off". |
autoSizeX |
Bool | |
autoSizeY |
Bool |
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: