Work in progress...
Tiny library to enhance the cursor in a web app through CSS3 and JS(ES6).
super-cursor.js > wrapper aka entry point.
super-cursor-position.js > gives cursor position taking into account mouse move and mouse scroll events.
super-cursor-underneath.js > parses css classes in html hovered by the cursor according to a regular expression.
super-cursor-animation.js > starts animations based on click events.
site.js > your app .js file.
soon...
soon...
- change element.classList manipulation, favoring element.className for browser compatibility.
- add api endpoint to override cursors or widgets chosen automatically by the library to add more control.
- stack widgets with cursors or vice-versa
- make it mobile compatible leveraging multi-touch (only for menu widgets I guess).
https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects
MIT (see license)