export.json()
Description
Exports Kanban data into a JSON file
Usage
export.json(): void;
info
The method exports data of Kanban to a JSON file with the following structure:
{
"cards": [],
"columns": [],
"rows": []
}
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// export the Kanban data to JSON ()
board.export.json(); // => { "cards": [...], "columns": [...], "rows": [] }
Change log: The method was added in v1.3