Class Roo.EventObject

Package:Roo
Defined In: Roo/EventManager.js.
Class:EventObject
EventObject exposes the Yahoo! UI Event functionality directly on the object
passed to your event handler. It exists mostly for convenience. It also fixes the annoying null checks automatically to cleanup your code
Example:

function handleClick(e){ // e is not a standard event object, it is a Roo.EventObject
e.preventDefault();
var target = e.getTarget();
...
}
var myDiv = Roo.get("myDiv");
myDiv.on("click", handleClick);
//or
Roo.EventManager.on("myDiv", 'click', handleClick);
Roo.EventManager.addListener("myDiv", 'click', handleClick);
Class Comments / Notes => [Add Your comment/notes about this class]
Config Options - Has None
Public Properties - Has None
Public Methods
Method Defined By
Events - Has None
Documentation generated by Introspection Doc Generator on Fri Jul 13 2018 14:10:53 GMT+0800 (HKT) Based on JsDoc Toolkit