Juraj Posted March 5, 2020 Share Posted March 5, 2020 Hey guys I may be blind, but is cycle method supported in the gsap3 release? Can't seem to make it work the old way. Thank you! See the Pen xxGXJzd by jurajmolnar (@jurajmolnar) on CodePen Link to comment Share on other sites More sharing options...
Shrug ¯\_(ツ)_/¯ Posted March 5, 2020 Share Posted March 5, 2020 https://greensock.com/3-release-notes/#removed https://greensock.com/3-migration/#cycle Quote cycle (formerly only in the stagger methods) has been replaced by gsap.utils.wrap() which is more flexible. Also here: https://greensock.com/docs/v3/GSAP/UtilityMethods/wrap() gsap.to(".item", {x: gsap.utils.wrap([10, 100, 200, 300, 400, 500]), delay: .5, stagger: 0.1}) Does that help clear things up for you? 5 2 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