Definition
UI Events defines MouseEventInit
dictionary MouseEventInit : EventModifierInit {
long screenX = 0;
long screenY = 0;
long clientX = 0;
long clientY = 0;
short button = 0;
unsigned short buttons = 0;
EventTarget? relatedTarget = null;
};
This dictionary is extended in the following specifications:
- Pointer Lock 2.0
partial dictionary MouseEventInit { double movementX = 0; double movementY = 0; };
Consolidated IDL (across partials)
dictionary MouseEventInit : EventModifierInit {
long screenX = 0;
long screenY = 0;
long clientX = 0;
long clientY = 0;
short button = 0;
unsigned short buttons = 0;
EventTarget? relatedTarget = null;
double movementX = 0;
double movementY = 0;
};
Referring IDL interfaces/dictionaries
Referring specifications
- HTML Standard refers to
MouseEventInit
- Pointer Events refers to
MouseEventInit
- Pointer Lock 2.0 refers to
MouseEventInit