The nsIDOMMouseEvent interface is the datatype for all mouse events in the Document Object Model. For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Events/ @status FROZEN
[scriptable, uuid(ff751edc-8b02-aae7-0010-8301838a3123)]
interface nsIDOMMouseEvent : nsIDOMUIEvent
Attributes
readonly attribute
boolean
altKey
readonly attribute
unsigned short
button
readonly attribute
long
clientX
readonly attribute
long
clientY
readonly attribute
boolean
ctrlKey
readonly attribute
boolean
metaKey
readonly attribute
nsIDOMEventTarget
relatedTarget
readonly attribute
long
screenX
readonly attribute
long
screenY
readonly attribute
boolean
shiftKey
Methods
void
initMouseEvent(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMAbstractView viewArg, in long detailArg, in long screenXArg, in long screenYArg, in long clientXArg, in long clientYArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in unsigned short buttonArg, in nsIDOMEventTarget relatedTargetArg)
Compare to: