editable([editable])

Class: TextArea. 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

[editable]

boolean

enables or disables editing

Returns:

If arguments is passed, returns this component instance, otherwise returns boolean value.

Type: Object | boolean