iink-ts - v4.0.0
    Preparing search index...

    Type Alias THistoryContext

    type THistoryContext = {
        canRedo: boolean;
        canUndo: boolean;
        empty: boolean;
        possibleUndoCount: number;
        stackIndex: number;
    }
    Index
    canRedo: boolean
    canUndo: boolean
    empty: boolean
    possibleUndoCount: number

    populated from the backend contentChanged message; only meaningful for the SSR canvas variant, where the server is the source of truth for the undo stack.

    stackIndex: number