deleteLink()
Description
Deletes the specified link from the Kanban datastore.
Usage
deleteLink({ id: string | number }): void;
Parameters
id
- (required) the ID of the link that needs to be removed
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards,
links,
});
// remove link by its id
board.deleteLink({ id: 5 });
Change log: The method was added in v1.5