editable([editable])
Class: DocumentEditor. Method inherited from UIComponent.
Description:
Sets or gets whether component's text can be edited by user typing. Applies to components such as TextField, TextArea, DocumentEditor, ComboBox, Password, Spinner, Tree (to edit list item).
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
boolean |
enables or disables editing |
Returns:
If arguments is passed, returns this component instance, otherwise returns boolean value.
Type: Object | boolean
