Skip to main content

api.getStores()

Description

Retrieves an object containing the DataStore properties of the Kanban.

Usage

api.getStores(): object;

Returns

This method returns an object that includes the DataStore parameters:

{
data: DataStore // ( object of parameters )
}

Example

// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// get the DataStore object of Kanban
const store = board.api.getStores();
console.log(store);

Change log: The method was updated in v1.2