undoLimit([limit])

Class: TextArea. Method inherited from UIComponent.

Description:

Sets or gets the maximum amount of edits that can be undone.

Parameters:

Name Type Description

[limit]

number

Value 0 disabled undo/redo operation. Default is 100.

Returns:

Returns this component if argument is provided, otherwise returns number value.

Type: this | number