closable
Optional. Adds close buttons for tabs
closable?: boolean | string[];
Example
// adds close buttons for all tabs
const tabbar = new dhx.Tabbar("tabbar_container", {
closable: true
});
// adds close buttons for separate tabs
const tabbar = new dhx.Tabbar("tabbar_container", {
closable: ["paris", "london"]
});
Related sample: Tabbar. Close button
Change log:
added in v6.4