delete-link
Description
Triggered when a link is deleted
Usage
"delete-link": ({
id: string | number,
skipProvider?: boolean
}) => void;
Parameters
The callback for the delete-link event receives an object with the following properties:
id
- (required) the ID of the link that is being deletedskipProvider
- (optional) controls whether the request to the server is suppressed
info
To handle internal events, the Event Bus methods can be used
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards,
links
});
// listen for the "delete-link" event
board.api.on("delete-link", (obj) => {
console.log(obj.id);
});
Change log: This event was introduced in v1.4