tholman / cursor-effects

Old-school cursor effects for your browser built with modern JavaScript
https://tholman.com/cursor-effects
3.35k stars 246 forks source link

a way to remove the effect #53

Closed Proxy-99 closed 1 year ago

Proxy-99 commented 1 year ago

is there a way to remove the effect

tholman commented 1 year ago

Ya, you can call destroy on the effect!

let cursorEffect = new emojiCursor({ emoji: ["🔥", "🐬", "🦆"] });

cursorEffect.destroy()

Will add to the documentation now.