Skip to main content

$meta

Description

An object containing extra settings to customize Kanban methods and events

important

The $meta object provides additional parameters that help configure methods related to Kanban events.

Usage

$meta?: {
skipHistory?: boolean
};

Parameters

The $meta object includes the following parameter:

  • skipHistory - (optional) controls whether an operation is recorded in the Kanban history or not

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