terra-draw-monorepo
    Preparing search index...

    Interface TerraDrawSessionUndoRedoInterface

    interface TerraDrawSessionUndoRedoInterface {
        canRedo(): boolean;
        canUndo(): boolean;
        clearHistory(): void;
        redo(): boolean;
        redoSize(): number;
        register(
            options: {
                draw: TerraDraw;
                onHistoryChange: (historyChange: HistoryChange) => void;
            },
        ): void;
        undo(): boolean;
        undoSize(): number;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Methods