1.0.0 • Published 6 years ago

virtual-cursor v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Cursor.js

npm.io

A cursor implemented in JavaScript Demo

  • Powerful plugin system
  • Comes with plugins that imitate native behaviour:
    • DragSelection - Drag to select text
    • ClickSelection - Select words by double clicking them
    • WindowBoundary - Prevents the cursor from moving outside the page
    • NativeEvents - Interoperability with native JS mouse events

Why

  • Apply custom easing to the movements
  • Sync mouse movements across browsers
  • Loads more

Usage

see test/index.ts and src/CursorCapture/plugins/* for examples on how to create plugins