Skip to main content

RichEditSelection.collapsed Property

Specifies whether the current selection is collapsed (the cursor position).


collapsed: boolean

Property Value

Type Description

true, if the selection is collapsed; otherwise, false.


The intervals property stores the selected interval(s). Use the collapsed property to specify whether the type of the selected interval is collapsed.

richEdit.selection.collapsed = true;

Refer to the following section for more information: Client Selection.

See Also