lib/kissy/5.0.0-alpha.3/build/tabs-debug.js
function (tab) {
                var self = this, bar = self.get('bar'), body = self.get('body');
                bar.set('selectedTab', tab);
                body.set('selectedPanelIndex', util.indexOf(tab, bar.get('children')));
                return this;
            }
function (tab) {
                var self = this, bar = self.get('bar'), body = self.get('body');
                bar.set('selectedTab', tab);
                body.set('selectedPanelIndex', util.indexOf(tab, bar.get('children')));
                return this;
            }
function ( tab ) { var self = this , bar = self . get ( 'bar' ) , body = self . get ( 'body' ) ; bar . set ( 'selectedTab' , tab ) ; body . set ( 'selectedPanelIndex' , util . indexOf ( tab , bar . get ( 'children' ) ) ) ; return this ; }
set tab as selected
@param {KISSY.Tabs.Tab} tab
@chainable
set tab as selected