james182 Posted January 4, 2021 Share Posted January 4, 2021 Trying to use the CustomWiggle plugin with gsap but it keeps asking to: "Please gsap.registerPlugin(CustomEase, CustomWiggle)" I have added the gsap.registerPlugin('CustomWiggle'); at the beginning of my code, but no luck. My code is below: CustomWiggle.create("iconWiggle", { wiggles: 6, type: "easeInOut"}); gsap.to(btnIcon, { duration: 0.5, rotation: 30, ease: "iconWiggle" } ); The aim is on hovering over the button the icon wiggles. See the Pen abmYRxV by james182 (@james182) on CodePen Link to comment Share on other sites More sharing options...
Solution mikel Posted January 4, 2021 Solution Share Posted January 4, 2021 Hey @james182, CustomWiggle is a variation of CustomEase that lets you set the wiggle amount and type. This URLs points to a special trial version of the Club GreenSock bonus plugins - you need both! https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/CustomEase3.min.js Happy wiggling ... Mikel 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now