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, {
21 getAutoCreate : function(){
23 var cfg = Roo.apply({}, Roo.bootstrap.Navbar.Item.superclass.getAutoCreate.call(this));
31 cfg.cn[0].html = this.html || cfg.cn[0].html ;
35 cfg.cn[0].cls='navbar-text';
38 cfg.cn[0].href=this.href;
39 cfg.cn[0].html=this.html;
42 if (this.badge !== '') {