Skip to main content

$meta

Description

An object of extra settings for configuring methods and events of Kanban

important

The $meta object includes an extra set of parameters used for configuring methods based on the events of Kanban!

Usage

$meta?: {
skipHistory?: boolean
};

Parameters

The $meta object includs the following parameter:

  • skipHistory - (optional) enables/disables skipping the operations in a history of Kanban

Example

// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// add new card and skip this action in history of Kanban
board.addCard({
id: 1,
columnId: "backlog",
card: { label: "New card" },
$meta: {
skipHistory: true
}
});

Change log: The $meta parameter was added in v1.3

Related article: history