undo()
Description
Reverts the last operation in Kanban
info
The undo()
method works with the history: true
config only!
Usage
undo(): void;
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// makes one step back in history of Kanban
board.undo();
Change log: The method was added in v1.3