Skip to main content

destructor()

Description

Removes all HTML elements of Toolbar, and detaches all related events

Usage

destructor(): void;

Example

// create Kanban
const board = new kanban.Kanban("#root", {});
// create Toolbar
const toolbar = new kanban.Toolbar("#toolbar", { api: board.api });
// remove Toolbar
toolbar.destructor();