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