platform-bible-react
    Preparing search index...

    Function measureRange

    • Experimental

      The current viewport rect of a text range, or undefined when the range no longer lies in rendered text (its nodes were replaced, so it collapsed to an element boundary that has no box).

      This export is unstable and may change shape or disappear without notice

      Parameters

      • range: Range

      Returns undefined | DOMRect