This is the escape hatch: anything the typed hooks do not cover — custom
layouts, page overlays, coordinate conversion, direct @pdfrx/engine access
through viewer.document — is reachable from here.
Remember that the viewer owns its document: any PdfDocument/PdfPage you
hold becomes invalid as soon as another document is opened, so re-read them
rather than caching across loads.
The underlying PdfrxViewer, or
nulluntil PdfViewerSurface has mounted (and again after it unmounts).This is the escape hatch: anything the typed hooks do not cover — custom layouts, page overlays, coordinate conversion, direct
@pdfrx/engineaccess throughviewer.document— is reachable from here.Remember that the viewer owns its document: any
PdfDocument/PdfPageyou hold becomes invalid as soon as another document is opened, so re-read them rather than caching across loads.