10 * @class Roo.bootstrap.breadcrumb.Nav
11 * @extends Roo.bootstrap.Component
12 * @children Roo.bootstrap.Component
13 * @parent Roo.bootstrap.breadcrumb.Nav
14 * Bootstrap Breadcrumb Nav Class
17 * @cfg {String} html the content of the link.
18 * @cfg {String} href where it links to if '#' is used the link will be handled by onClick.
19 * @cfg {Boolean} active is it active
23 * Create a new breadcrumb.Nav
24 * @param {Object} config The config object
27 Roo.bootstrap.breadcrumb.Item = function(config){
28 Roo.bootstrap.breadcrumb.Item.superclass.constructor.call(this, config);
33 * The img click event for the img.
34 * @param {Roo.EventObject} e
41 Roo.extend(Roo.bootstrap.breadcrumb.Item, Roo.bootstrap.Component, {
46 getAutoCreate : function()
51 cls : 'breadcrumb-item' + (this.active ? ' active' : '')
53 if (this.href !== false) {
66 initEvents: function()
69 this.el.select('a', true).first().on('click',this.onClick, this)
76 this.fireEvent('click',this, e);