vot.js - v2.4.18
    Preparing search index...

    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
    offset: number
    offsetNode: Node
    • Returns DOMRect | null