TinyMCE:API/tinymce.dom.Selection/isCollapsed

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Method: isCollapsed

Summary

Returns true if the selection range is collapsed and false otherwise. The selection range is considered to be collapsed if the start and end position are the same (i.e. an empty selection).

Syntax

<bool> isCollapsed()

Returns

A boolean indicating if the selection is in the collapsed state.

Personal tools