Documentation / @ripl/core / createScene
Function: createScene() ​
createScene(...
options):Scene<Context<Element,Record<string,unknown>>>
Defined in: packages/core/src/core/scene.ts:136
Factory function that creates a new Scene instance from a context, selector, or element.
Parameters ​
| Parameter | Type |
|---|---|
...options | [string | Context<Element, Record<string, unknown>> | HTMLElement, SceneOptions] |