Skip to main content

deleteCard()

Description

Removes the specified card from datastore of Kanban

Usage

deleteCard({ id: string | number }): void;

Parameters

  • id - (required) the ID of the card to be deleted

Example

// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// remove card by its id
board.deleteCard({ id: 1 });