Skip to content

Commit 5e631e5

Browse files
authored
Add Pointer Lock API (web-platform-dx#600)
1 parent c870a94 commit 5e631e5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Pointer lock
2+
description: Provides access to raw mouse movement by locking the target of mouse events to a single element and hiding the mouse cursor.
3+
spec: https://w3c.github.io/pointerlock/
4+
caniuse: pointerlock
5+
usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/417
6+
compat_features:
7+
- api.Document.exitPointerLock
8+
- api.Document.pointerlockchange_event
9+
- api.Document.pointerLockElement
10+
- api.Document.pointerlockerror_event
11+
- api.Element.requestPointerLock
12+
- api.MouseEvent.movementX
13+
- api.MouseEvent.movementY
14+
- api.ShadowRoot.pointerLockElement
15+
- html.elements.iframe.sandbox.allow-pointer-lock

0 commit comments

Comments
 (0)