deleteCard()
Description
Deletes a specific card from the Kanban's datastore.
Usage
deleteCard({ id: string | number }): void;
Parameters
id
- (required) the unique identifier of the card to remove
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// delete a card by its id
board.deleteCard({ id: 1 });