deleteLink()
Description
Deletes a specific 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: This method was introduced in version 1.5