On this page

Interface CaretPosition

The CaretPosition interface represents the caret position, an indicator for the text insertion point.

MDN Reference

interface CaretPosition {
    offset: number;
    offsetNode: Node;
    getClientRect(): DOMRect | null;
}
Index

Properties

Methods

Properties

offset: number
offsetNode: Node

Methods

Was this helpful?
SDK JS
Reference
CaretPosition