JavaScript in the Browser
type: event type.target: node on which event
occurred. currentTarget: node at which event is
currently being processed. eventPhase: number that specifies current
phase of event propagation. timeStamp: a Date object of when the
event occurred. bubbles: does this event bubble up? cancelable: does it have a default action that can be canceled with the preventDefault() method? UIEvent inherits from Event and has (in addition):
view: window object within which the
event occurred.detail: number with more info. For clicks
its 1 for single click, 2 for double click, 3 for
triple. MouseEvent inherits from both.
button: number of button pressed
(0,1,2)alkKey, ctrlKey, metaKey, shiftKey:
booleans. Was it held down? clientX, clientY: coordinates of mouse
relative to browser window. screenX, screenY: coordinates of mouse
relative to screen. relatedTarget: for mousemovement events it is the node the mouse left.50 of 66