10 * @class Roo.bootstrap.breadcrumb.Nav
11 * @extends Roo.bootstrap.Component
12 * Bootstrap Breadcrumb Nav Class
14 * @children Roo.bootstrap.breadcrumb.Component
15 * @cfg {String} html the content of the link.
16 * @cfg {String} href where it links to if '#' is used the link will be handled by onClick.
17 * @cfg {Boolean} active is it active
21 * Create a new breadcrumb.Nav
22 * @param {Object} config The config object
25 Roo.bootstrap.breadcrumb.Item = function(config){
26 Roo.bootstrap.breadcrumb.Item.superclass.constructor.call(this, config);
31 * The img click event for the img.
32 * @param {Roo.EventObject} e
39 Roo.extend(Roo.bootstrap.breadcrumb.Item, Roo.bootstrap.Component, {
44 getAutoCreate : function()
49 cls : 'breadcrumb-item' + (this.active ? ' active' : '')
51 if (this.href !== false) {
64 initEvents: function()
67 this.el.select('a', true).first().on('click',this.onClick, this)
74 this.fireEvent('click',this, e);