Skip to main content

getSelection()

Description

Gets an array with ID(s) of the selected card(s)

Usage

getSelection(): array;

Returns

The method returns an array with ID(s) of the selected card(s)

Example

// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// gets an array with IDs of the selected cards
board.getSelection();