papi-dts
    Preparing search index...
    • Translates iframe-relative coordinates to document-relative coordinates using getBoundingClientRect of the WebView iframe. The platform never scales the iframe element itself (content zoom scales marked areas inside it), so an inner pixel is an outer pixel.

      Parameters

      • webViewId: string

        The webViewId of the iframe

      • position: { x: number; y: number }

        The iframe-relative position

      Returns { x: number; y: number }

      The document-relative position