WebIDLpedia

MouseEventInit dictionary

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:

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