unselectCard()
Description
Deselects the card(s) identified by their ID.
Usage
unselectCard({ id: string | number }): void;
info
Calling unselectCard() without any arguments will clear the selection from all cards.
Parameters
id
- (required) the unique identifier 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 });