initEvents : function()
{
- Roo.log('init Menu Items');
-
- Roo.log(this.el);
this.el.on('mouseover', this.onMouseOver, this);
this.el.on('mouseout', this.onMouseOut, this);
this.el.on('click', this.onClick, this);
onClick : function(e)
{
- Roo.log('item click');
- Roo.log(this);
this.fireEvent("click", this, e);
},
onMouseOver : function(e)
{
- Roo.log('mouse over');
- Roo.log(this);
this.fireEvent("mouseover", this, e);
},
onMouseOut : function(e)
{
- Roo.log('mouse out');
this.fireEvent("mouseout", this, e);
}
});