tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pointerlock.idl (841B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: Pointer Lock 2.0 (https://w3c.github.io/pointerlock/)
      5 
      6 dictionary PointerLockOptions {
      7  boolean unadjustedMovement = false;
      8 };
      9 
     10 partial interface Element {
     11  Promise<undefined> requestPointerLock(optional PointerLockOptions options = {});
     12 };
     13 
     14 partial interface Document {
     15  attribute EventHandler onpointerlockchange;
     16  attribute EventHandler onpointerlockerror;
     17  undefined exitPointerLock();
     18 };
     19 
     20 partial interface mixin DocumentOrShadowRoot {
     21  readonly attribute Element? pointerLockElement;
     22 };
     23 
     24 partial interface MouseEvent {
     25  readonly attribute double movementX;
     26  readonly attribute double movementY;
     27 };
     28 
     29 partial dictionary MouseEventInit {
     30  double movementX = 0;
     31  double movementY = 0;
     32 };