7 Roo.bootstrap.Navbar.Item = function(config){
8 Roo.bootstrap.Navbar.Item.superclass.constructor.call(this, config);
11 Roo.extend(Roo.bootstrap.Navbar.Item, Roo.bootstrap.Component, {
17 getAutoCreate : function(){
19 var cfg = Roo.apply({}, Roo.bootstrap.Navbar.Item.superclass.getAutoCreate.call(this));
31 cfg.cn[0].html = this.html || cfg.cn[0].html ;
35 }else if (!this.href) {
37 cfg.cn[0].cls='navbar-text';
40 cfg.cn[0].href=this.href;
41 cfg.cn[0].html=this.html;
44 if (this.badge !== '') {