close

fires on closing a tab

void close(string id){ ... };

Deprecated

instead of it, you can use the afterClose event:

tabbar.events.on("AfterClose", function(id){
    console.log(id);
});

Parameters

idstringthe id of a closed tab

Example

tabbar.events.on("Close", function(id){
    console.log(id);
});

Back to top