blockly > Events > clearPendingUndo

Events.clearPendingUndo() function

Modify pending undo events so that when they are fired they don't land in the undo stack. Called by Workspace.clearUndo.

Signature:

export declare function clearPendingUndo(): void;

Returns:

void