Open main menu

CDOT Wiki β

Changes

Implementing the Mouse Lock API in Firefox

9 bytes added, 14:39, 30 November 2011
Implementation
# <strike>When the locked element is removed from the DOM Tree, the mouse should be unlocked</strike> diogogmt
# Trying to lock a locked element should fire the success callback diogogmt
# Before locking the mouse check if the element is a DOM element and if it is in the DOM Treediogogmt
# Save the screenX and screenY position before locking the mouse.
# Reset the mouse position back to the original position when unlocking.
1
edit