interface HistoryAction {
    combine: boolean;
    name: string;
    redo: Function;
    undo: Function;
}

Properties

Properties

combine: boolean

Whether to combine with the previous action with the same name. The effect of combining is merely changing the redo function to be the redo function of this action. The original undo function is not modified.

name: string

The action name.

redo: Function

The redo function.

undo: Function

The undo function.