Skip to content

Tiny library to enhance the cursor in a web app through CSS3 and JS(ES6).

License

Notifications You must be signed in to change notification settings

pmcamacho/super-cursor

Repository files navigation

super-cursor

take a look

status

Work in progress...

description

Tiny library to enhance the cursor in a web app through CSS3 and JS(ES6).

modules (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.

usage

soon...

examples

soon...

todo

  • 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).

notes

https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects

license

MIT (see license)

About

Tiny library to enhance the cursor in a web app through CSS3 and JS(ES6).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published