Object | +--YAHOO.ext.EventObject
| Field Summary | |
Object |
altKey
True if the alt key was down during the event |
Number |
BACKSPACE
Key constant |
Object |
browserEvent
The normal browser event |
Object |
button
The button pressed in a mouse event |
Object |
ctrlKey
True if the control key was down during the event |
Number |
DELETE
Key constant |
Number |
DOWN
Key constant |
Number |
END
Key constant |
Number |
ESC
Key constant |
Number |
F5
Key constant |
Number |
HOME
Key constant |
Number |
LEFT
Key constant |
Number |
PAGEDOWN
Key constant |
Number |
PAGEUP
Key constant |
Number |
RETURN
Key constant |
Number |
RIGHT
Key constant |
Object |
shiftKey
True if the shift key was down during the event |
Number |
SPACE
Key constant |
Number |
TAB
Key constant |
Number |
UP
Key constant |
| Method Summary * Parameter types in italic indicate optional parameters | |
HTMLelement
|
findTarget(className, tagName)
Walk up the DOM looking for a particular target - if the default target matches, it is returned. |
Number
|
getCharCode()
Gets the key code for the event. |
Number
|
getPageX()
Gets the x coordinate of the event. |
Number
|
getPageY()
Gets the y coordinate of the event. |
HTMLelement
|
getRelatedTarget()
Gets the related target. |
HTMLelement
|
getTarget()
Gets the target for the event. |
Number
|
getTime()
Gets the time of the event. |
Object
|
getWheelDelta()
Normalizes mouse wheel delta across browsers |
Array
|
getXY()
Gets the page coordinates of the event. |
Boolean
|
hasModifier()
Returns true if the control, shift or alt key was pressed during this event. |
void
|
preventDefault()
Prevents the browsers default handling of the event. |
void
|
stopEvent()
Stop the event. |
void
|
stopPropagation()
Cancels bubbling of the event. |
| Field Detail |
Object altKey
Number BACKSPACE
Object browserEvent
Object button
Object ctrlKey
Number DELETE
Number DOWN
Number END
Number ESC
Number F5
Number HOME
Number LEFT
Number PAGEDOWN
Number PAGEUP
Number RETURN
Number RIGHT
Object shiftKey
Number SPACE
Number TAB
Number UP
| Method Detail |
HTMLelement findTarget(className, tagName)
Number getCharCode()
Number getPageX()
Number getPageY()
HTMLelement getRelatedTarget()
HTMLelement getTarget()
Number getTime()
Object getWheelDelta()
Array getXY()
Boolean hasModifier()
void preventDefault()
void stopEvent()
void stopPropagation()