10 * @class Roo.bootstrap.breadcrumb.Nav
11 * @extends Roo.bootstrap.Component
12 * @children Roo.bootstrap.Component
13 * Bootstrap Breadcrumb Nav Class
16 * @cfg {String} html the content of the link.
17 * @cfg {String} href where it links to if '#' is used the link will be handled by onClick.
18 * @cfg {Boolean} active is it active
22 * Create a new breadcrumb.Nav
23 * @param {Object} config The config object
26 Roo.bootstrap.breadcrumb.Item = function(config){
27 Roo.bootstrap.breadcrumb.Item.superclass.constructor.call(this, config);
32 * The img click event for the img.
33 * @param {Roo.EventObject} e
40 Roo.extend(Roo.bootstrap.breadcrumb.Item, Roo.bootstrap.Component, {
45 getAutoCreate : function()
50 cls : 'breadcrumb-item' + (this.active ? ' active' : '')
52 if (this.href !== false) {
65 initEvents: function()
68 this.el.select('a', true).first().on('click',this.onClick, this)
75 this.fireEvent('click',this, e);