hmongouachon / nodecursor Goto Github PK
View Code? Open in Web Editor NEWNodeCursor is a tiny plugin to create custom cursor node animations
NodeCursor is a tiny plugin to create custom cursor node animations
When I added 2 selector to element_to_hover option my cursor appears to be always in hover state. is there any way to do this? or I am supposed to use only 1 selector to my element_to_hover only?
What I'd like to do is
NodeCursor({
cursor : true,
node : true,
cursor_velocity : 1,
node_velocity : 0.15,
native_cursor : 'none',
element_to_hover : '.iCanHoverThis, .iCanHoverThisToo',
cursor_class_hover : 'disable',
node_class_hover : 'expand',
hide_mode : true,
hide_timing : 2000,
});
edit: I checked the code and found that this is not possible at the moment. Could you add this feature? only the jquery version has this problem
Using jQuery when I scroll-down the NodeCursor will not in the position of mouse-pointer.
https://codepen.io/hmongouachon/pen/Ygwjrj
in this pen, please remove the overflow: hidden;
from body, html
in CSS and add some text in HTML for scrollable output to see the issue.
jquery.easeScroll.js:73 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312
Dependency free version
Both cursor and node shows properly, but node is not animated (stuck with the dot).
Tested on Safari and Chrome.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.