Hiyve Components - v1.0.0
    Preparing search index...

    Undo/redo state

    interface UndoRedoState {
        canRedo: boolean;
        canUndo: boolean;
        clearHistory: () => void;
        pushState: (state: string) => void;
        redo: () => void;
        undo: () => void;
    }
    Index

    Properties

    canRedo: boolean

    Whether redo is available

    canUndo: boolean

    Whether undo is available

    clearHistory: () => void

    Clear history

    pushState: (state: string) => void

    Add state to history

    redo: () => void

    Perform redo

    undo: () => void

    Perform undo