onclose tab

Can I catch onclose event on a tab?


You can use “onTabClose” event:


tabbar.attachEvent(“onTabClose”,function(tabId){


return true


})