CaretPosition
Module: JavaScript DOM API
#include <CaretPosition.idl>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| 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. |
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable offsetNode
Section titled “variable offsetNode”readonly attribute Node offsetNode;Returns a Node containing the found node at the caret’s position.
variable offset
Section titled “variable offset”readonly attribute unsigned long offset;Returns a long representing the character offset in the caret position node.
© 2026 Coherent Labs. All rights reserved.