CaretPosition

Module: JavaScript DOM API

#include <CaretPosition.idl>

Public Attributes

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.

Public Attributes Documentation

variable offsetNode

readonly attribute Node offsetNode;

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

variable offset

readonly attribute unsigned long offset;

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