The library has no dependencies and weighs in at around 3kb. A
<canvas> element is used to paint the cut-out cover. Works in most modern browsers except IE and touch devices.
If you want to use this on your site simple include the fokus.min.js script.
- Don't start selection on rightclick
- Don't select elements of zero width and height
- Don't select br nodes
- Animate change in cleared area
- Handle selection via keyboard
- Initial release
Copyright (C) 2012 Hakim El Hattab, http://hakim.se