MouseEvent

Module:
events
Inherits from:
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

initMouseEvent

initMouseEvent


void initMouseEvent(
    in DOMString type, 
    in boolean canBubble, 
    in boolean cancelable, 
    in DOMWindow view, 
    in long detail, 
    in long screenX, 
    in long screenY, 
    in long clientX, 
    in long clientY, 
    in boolean ctrlKey, 
    in boolean altKey, 
    in boolean shiftKey, 
    in boolean metaKey, 
    in unsigned short button, 
    in EventTarget relatedTarget); 

Member Data

altKey
button
clientX
clientY
ctrlKey
dataTransfer
fromElement
metaKey
offsetX
offsetY
relatedTarget
screenX
screenY
shiftKey
toElement
x
y

altKey


readonly attribute boolean altKey; 


button


readonly attribute unsigned short button; 


clientX


readonly attribute long clientX; 


clientY


readonly attribute long clientY; 


ctrlKey


readonly attribute boolean ctrlKey; 


dataTransfer


readonly attribute Clipboard dataTransfer; 


fromElement


readonly attribute Node fromElement; 


metaKey


readonly attribute boolean metaKey; 


offsetX


readonly attribute long offsetX; 


offsetY


readonly attribute long offsetY; 


relatedTarget


readonly attribute EventTarget relatedTarget; 


screenX


readonly attribute long screenX; 


screenY


readonly attribute long screenY; 


shiftKey


readonly attribute boolean shiftKey; 


toElement


readonly attribute Node toElement; 


x


readonly attribute long x; 


y


readonly attribute long y; 

 

Last Updated: 2009-05-29