[ enum ] LineWrap
Description:
Enum for word wrapping styles.
Used with lineWrap() method in TextArea and DocumentEditor to control how text is wrapped.
Type: number
Properties:
| Name | Description |
|---|---|
|
Disable line wrapping. |
|
Wrap line when a full word doesn't fit. |
|
Wrap line when a character doesn't fit. |
Examples:
Setting line wrapping style:
textarea.lineWrapping(LineWrap.Word);
