Dotloom TypeScript API
    Preparing search index...

    Interface EditorState

    Editor UI state (changes rarely; pointer position lives in PointerState).

    interface EditorState {
        activeLayer: number | null;
        busy: boolean;
        canRedo: boolean;
        canUndo: boolean;
        error: EditorErrorState | null;
        gridVisible: boolean;
        input: string;
        lastCommit: CommitReport | null;
        prompt: string;
        redoLabel: string | null;
        revision: number;
        selection: number[];
        snapEnabled: boolean;
        snapOptions: SnapOptions;
        tool: string;
        toolState: string;
        toolsVersion: number;
        undoLabel: string | null;
    }
    Index
    activeLayer: number | null

    Layer that receives new entities (null = default layer).

    busy: boolean
    canRedo: boolean
    canUndo: boolean
    error: EditorErrorState | null
    gridVisible: boolean
    input: string

    Typed value being entered.

    lastCommit: CommitReport | null
    prompt: string
    redoLabel: string | null
    revision: number
    selection: number[]
    snapEnabled: boolean
    snapOptions: SnapOptions
    tool: string
    toolState: string
    toolsVersion: number

    Incremented when tools are registered or removed.

    undoLabel: string | null