Changes

Jump to: navigation, search

Implementing the Mouse Lock API in Firefox

17 bytes added, 13:23, 29 November 2011
m
High-Level Mouse Lock Implementation Tasks
## 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
## "Mouse lock must succeed only if the window is in focus" - <strong>mjschranz</strong>
## "Mouse lock must succeed only if...the user-agent is the active application of the operating system"
## "The target of lock need not be in focus"
1
edit

Navigation menu