client.mountRenderer(el, options). Unlike the editor, the renderer’s auth is
per read and supplied on the mount call — the client only lends its
apiUrl.
Auth modes
Supply exactly one auth source:Public read: an existing share token that resolves the document by token.
Own-document read: returns a short-lived embed token (the same kind the
editor uses).
Cross-user read (enrolment-gated): returns a per-document HMAC signature and
its expiry.
RendererMountOptions
Document to render. With
shareToken, the token resolves the document.Fired on errors with a stable error code.
RendererInstance
Switch theme live.
Tear down the renderer. Call this on unmount.
