tabview-base-debug.js revision a32e49a1b841efaed34c635669f85fc44c85cb1d
TABVIEW = 'tabview',
TAB = 'tab',
CONTENT = 'content',
PANEL = 'panel',
SELECTED = 'selected',
EMPTY_OBJ = {},
DOT = '.',
_classNames = {
},
_queries = {
tabviewList: '> ul',
tab: '> ul > li',
tabLabel: '> ul > li > a ',
tabviewPanel: '> div',
tabPanel: '> div > div',
},
TabviewBase = function(config) {
};
this.refresh();
},
initClassNames: function(index) {
// this === tabview._node
if (_classNames[name]) {
}
if (result) {
}
}
}, this._node);
},
if (oldItem) {
}
if (oldContent) {
}
if (newItem) {
}
if (newContent) {
}
},
initState: function() {
this._select(activeIndex);
},
// collapse extra space between list-items
_scrubTextNodes: function() {
}
});
},
// base renderer only enlivens existing markup
refresh: function() {
this._scrubTextNodes();
this.initClassNames();
this.initState();
this.initEvents();
},
tabEventName: 'click',
initEvents: function() {
// TODO: detach prefix for delegate?
// this._node.delegate('tabview|' + this.tabEventName),
this.onTabEvent,
this
);
},
onTabEvent: function(e) {
e.preventDefault();
},
destroy: function() {
}
});
Y.TabviewBase = TabviewBase;
}, '@VERSION@' ,{requires:['node-event-delegate', 'node-pluginhost', 'classnamemanager', 'skin-sam-tabview']});