unselectCard()
Description
Deselects card(s) based on their ID
Usage
unselectCard({ id: string | number }): void;
info
Calling the unselectCard() method without any parameters will clear the selection of all cards
Parameters
id- (required) the ID of the card to be deselected
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// deselect the card with ID 1
board.unselectCard({ id: 1 });