X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.EventObject.html diff --git a/docs/output/Ext.EventObject.html b/docs/output/Ext.EventObject.html index 55fede2b..35683502 100644 --- a/docs/output/Ext.EventObject.html +++ b/docs/output/Ext.EventObject.html @@ -1,4 +1,4 @@ -
Properties Methods Events Direct Link

Class Ext.EventObject

Package:Ext
Defined In:EventManager.js
Class:EventObject
Extends:Object
Just as Ext.Element wraps around a native DOM node, Ext.EventObject +

Class Ext.EventObject

Package:Ext
Defined In:EventManager.js
Class:EventObject
Extends:Object
Just as Ext.Element wraps around a native DOM node, Ext.EventObject wraps the browser's native event-object normalizing cross-browser differences, such as which mouse button is clicked, keys pressed, mechanisms to stop event-propagation along with a method to prevent default actions from taking place. @@ -12,34 +12,34 @@ event-propagation along with a method to prevent default actions from taking pla myDiv.on( // 'on' is shorthand for addListener "click", // perform an action on click of myDiv handleClick // reference to the action handler -); +); // other methods to do the same: Ext.EventManager.on("myDiv", 'click', handleClick); -Ext.EventManager.addListener("myDiv", 'click', handleClick);

This class is a singleton and cannot be created directly.

Public Properties

This class has no public properties.

Public Methods

MethodDefined By