Skip to main content

Interface: RenderParametrizedOptions

Defined in: src/serialization/parametrized.ts:132

Options for renderParametrized.

Properties​

fetch?​

optional fetch: DataFetcher

Defined in: src/serialization/parametrized.ts:138

Injected data fetcher. Defaults to the global fetch + JSON parse.


scene?​

optional scene: Scene

Defined in: src/serialization/parametrized.ts:134

Build into this scene instead of a fresh headless one.


sceneOptions?​

optional sceneOptions: SceneOptions

Defined in: src/serialization/parametrized.ts:136

Scene options for the created scene when scene is not supplied.


urlReplace?​

optional urlReplace: boolean

Defined in: src/serialization/parametrized.ts:142

Use history.replaceState when writing the URL. Default true.


writeUrl?​

optional writeUrl: boolean

Defined in: src/serialization/parametrized.ts:140

Write the resolved props to the URL hash (no-op headless). Default false.