Skip to content
SiteEmail

CaretPosition

Module: JavaScript DOM API

#include <CaretPosition.idl>

Name
readonly attribute NodeoffsetNode
Returns a Node containing the found node at the caret’s position.
readonly attribute unsigned longoffset
Returns a long representing the character offset in the caret position node.
readonly attribute Node offsetNode;

Returns a Node containing the found node at the caret’s position.

readonly attribute unsigned long offset;

Returns a long representing the character offset in the caret position node.