Shows the panel's tabs.
showTabs(type)

type | string, name of the panel

#### Description

The first and only argument type is the name of the panel. It can be one of the following:

- top
- left
- main
- right
- preview
- bottom

If you have a layout defined as: $('#layout').w2layout({ name : 'layout', panels : [ { type: 'top', size: 40 }, { type: 'main', content: 'This is main panel', tabs: { active: 'tab2', tabs: [ { id: 'tab1', caption: 'Tab 1' }, { id: 'tab2', caption: 'Tab 2' }, { id: 'tab3', caption: 'Tab 3' } ], onClick: function (event) { console.log('event'); } } }, { type: 'preview', size: 200 } ] }); You can hide tabs w2ui['layout'].hideTabs('main'); Or you can show tabs w2ui['layout'].showTabs('main');