Cuberto / mouse-follower

A powerful javascript library to create amazing and smooth effects for the mouse cursor on your website.
MIT License
724 stars 60 forks source link

Statedetection not working with CDN #38

Open Iversonweb opened 8 months ago

Iversonweb commented 8 months ago

Hello, sorry I'm very new with cuberto, so I'm having alot of issues. I tried using state detection with the cdn, but when when i hovered on the specified section, it does not change.

My js code: const cursor = new MouseFollower({ container: '.my-element', speed: 0.3, stateDetection: { '-pointer': 'a,button', '-pointer': '.home-publication', '-hidden': '.my-input' } });

Please help