Skip to content

EditorApp beta ​

Variable of @v12-engine/editor

ts
EditorApp: Component<EditorAppProps> & {
    preload: () => Promise<unknown>;
}

The map editor's component, its code loaded as it is first drawn: what the app's editor scenes, openEditor and @v12-engine/editor all give, so that a page which imports anything else of the editor (loadMap, openInEditor) does not load all of it at start. A component that is imported as it is anywhere would be. EditorApp.preload() fetches it ahead of time