Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

305 B
Raw Blame
import type { Entity, TextInputHandle } from 'esengine';

export const state = {
    /** The editable markup source. */
    input: null as TextInputHandle | null,
    /** The rich Text whose content mirrors the input, re-rendered on every edit. */
    preview: null as Entity | null,
    built: false,
};