tabbar onTabLoaded

Can you give me sample code to use

onTabLoaded event

I want to hide the tabbar after it is loaded

onTabLoaded event occurs when content loaded in one of tabbar’s tab
//any code here, will be called after tab content loaded

If you need to catch the moment when tabbar finish config loading from external js file, it can be done as
//any code here