VidStudio SDK reference
    Preparing search index...

    Interface UndoableCommand

    undo-manager.ts — Command-pattern undo/redo system.

    Every undoable user action becomes an UndoableCommand with execute() and undo(). Commands are pushed onto a history stack. Cmd+Z pops and calls undo(). Cmd+Shift+Z re-pushes and calls execute().

    interface UndoableCommand {
        label: string;
        execute(): Promise<void>;
        undo(): Promise<void>;
    }
    Index
    label: string
    • Returns Promise<void>

    • Returns Promise<void>