1
edit
Changes
→High-Level Mouse Lock Implementation Tasks
## "The concept of the mouse cursor will have been removed, and it will not move off the window or be clamped by a screen edge"
## "no mouse cursor is displayed" -- mouse cursor should be hidden while locked
## navigator.pointer (readonly) is a MouseLockable - <strong>abhatnagar</strong>## MouseLockable has lock(), unlock(), islocked() - <strong>abhatnagar</strong>## islocked() returns true if mouse is locked, false if not locked - abhatnagarJesse
## lock(target) expects a DOM element, and takes two optional callbacks: successcallback, failurecallback.
## lock() should return immediately and call callbacks when lock succeeds or fails