Skip to main content

$meta

Description

An object with extra settings to customize Kanban methods and events

important

The $meta object provides additional parameters that help configure methods linked to Kanban events!

Usage

$meta?: {
skipHistory?: boolean
};

Parameters

The $meta object contains the following parameter:

  • skipHistory - (optional) controls whether an operation should be excluded from Kanban's history tracking

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 introduced in v1.3

Related article: history