RendererFitOptions
Defined in: renderer/src/types.ts:21
Options for the responsive-fit API.
Properties
Section titled “Properties”mode:
FitMode
Defined in: renderer/src/types.ts:23
Scale mode. See FitMode.
target?
Section titled “target?”
optionaltarget?:HTMLElement
Defined in: renderer/src/types.ts:31
Element whose size the canvas matches. Defaults, in order:
RendererConfig.container, then canvas.parentElement. If neither
is available the controller falls back to a one-shot transform against
the initial width × height and installs no ResizeObserver — pass
{ target: document.body } explicitly for full-page fit.