getSelection()
Description
Retrieves an array containing the ID(s) of the selected card(s)
Usage
getSelection(): array;
Returns
This method returns an array with the ID(s) of the card(s) that are currently selected.
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// retrieves an array with the IDs of the selected cards
board.getSelection();