Skip to main content

parse()

Description

Parses data into Kanban

Usage

parse({
columns?: array,
rows?: array,
cards?: array
}): void;

Parameters

  • columns - (optional) the array of objects of the columns data
  • rows - (optional) the array of objects of the rows data
  • cards - (optional) the array of objects of the cards data

Example

// create Kanban
const board = new kanban.Kanban("#root", {});
// parse data into Kanban
board.parse({
columns,
cards,
rows
});

Change log: Starting from v1.1 you don't need to reset initial data in constructor before parsing new data

Related articles: Working with Data