follow-mouse
v2.0.0
Published
Simple function to create smooth effects for the mouse cursor on your website
Downloads
30
Maintainers
Readme
700B gzipped
Installation
$ yarn add gsap
$ yarn add follow-mouse
Import
import gsap from 'gsap'
import FollowMouse from 'follow-mouse'
FollowMouse.registerGSAP(gsap)
new FollowMouse({
ease: 0.8
})
Destroy
const follower = new FollowMouse()
follower.destroy()
License
follow-mouse is released under MIT license