SceneRef beta
Interface of @v12-engine/client/app
ts
export interface SceneRef<A extends object = {}>A scene by its id, with what it is opened with (A): what names a scene to go to (goTo, exit.scene, a menu's button, the list's line, the editor's Play) takes one. Every scene is one, so a scene is named by the scene itself; sceneRef(id) names one made further on, or in another module. startApp checks once, as it starts, that every one an app names is one of its scenes (U2)
Members
id
ts
readonly id: string;The scene's id, by which goTo, a menu's button and the page's address name it
opens
ts
readonly opens?: A;What it is opened with, as a type alone: never set