summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/captured-mouse-events.idl
blob: 64c73b906d5a721ceead8ad0150208937a0a8f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Captured Mouse Events (https://screen-share.github.io/captured-mouse-events/)

[Exposed=Window]
interface CapturedMouseEvent : Event {
  constructor(DOMString type, optional CapturedMouseEventInit eventInitDict = {});
  readonly attribute long surfaceX;
  readonly attribute long surfaceY;
};

dictionary CapturedMouseEventInit : EventInit {
  long surfaceX = -1;
  long surfaceY = -1;
};

partial interface CaptureController {
  attribute EventHandler oncapturedmousechange;
};