Skip to main content

Interface: RenderRegistration<S>

Defined in: src/export/renderHarness.ts:42

Options for registerRender.

Type Parameters​

S​

S extends RenderableScene

Properties​

construct()?​

optional construct: (scene) => void | Promise<void>

Defined in: src/export/renderHarness.ts:48

The scene code to render. When not given, start() clicks the page's #playBtn (the examples convention) and the render is done when the button is enabled again.

Parameters​

scene​

S

Returns​

void | Promise<void>