@nextcloud/dialogs
    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(): null | DOMRect;
    }
    Index

    Properties

    Methods

    Properties

    offset: number
    offsetNode: Node

    Methods

    • Returns null | DOMRect