Create a new MouseEvent instance.
The Mouse device that is firing this event.
The original browser event that fired.
True if the alt key was pressed when this event was fired.
The mouse button associated with this event. Can be:
True if the ctrl key was pressed when this event was fired.
The change in x coordinate since the last mouse event.
The change in y coordinate since the last mouse event.
The element that the mouse was fired from.
The original browser event.
True if the meta key was pressed when this event was fired.
True if the shift key was pressed when this event was fired.
A value representing the amount the mouse wheel has moved, only valid for EVENT_MOUSEWHEEL events.
The x coordinate of the mouse pointer relative to the element Mouse is attached to.
The y coordinate of the mouse pointer relative to the element Mouse is attached to.
MouseEvent object that is passed to events 'mousemove', 'mouseup', 'mousedown' and 'mousewheel'.