MLightCAD
    Preparing search index...

    Interface UseUndoRedoReturn

    Reactive undo/redo availability for the active document database.

    interface UseUndoRedoReturn {
        canRedo: DeepReadonly<Ref<boolean>>;
        canUndo: DeepReadonly<Ref<boolean>>;
        syncUndoRedoState: () => void;
    }
    Index

    Properties

    canRedo: DeepReadonly<Ref<boolean>>

    Whether the active database has redoable operations.

    canUndo: DeepReadonly<Ref<boolean>>

    Whether the active database has undoable operations.

    syncUndoRedoState: () => void

    Re-reads undo/redo state from the active document.