undo()
Description
Reverts the last operation in Kanban
info
The undo()
method only works when the history: true
configuration is enabled!
Usage
undo(): void;
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// steps back one action in Kanban's history
board.undo();
Change log: The method was added in v1.3