Share Posted May 17, 2020 Hi everyone, I have just published GreenSock Snippets for VSCode. Let me know if I have missed some important snippets. And apologies for my inaction in the recent times when it comes to writing and recording tutorials, I still love GSAP and creative front-end coding. Cheers Petr 3 1 Link to comment Share on other sites More sharing options...
Share Posted May 18, 2020 That's great, Petr! Thanks so much for doing that. I've never used VSCode, but I'm sure a lot of people will find this useful. Looking forward to the upcoming tutorials! You always do such a nice job. 🙌 Link to comment Share on other sites More sharing options...
Share Posted May 18, 2020 Yes, thanks for posting, Petr. You might also be interested in knowing that the next release of GSAP should have a more complete set of Typescript declarations with JSDocs comments, so users (especially in software like VSCode) will be able to more easily autocomplete and learn about GSAP right in the editor. 1 Link to comment Share on other sites More sharing options...
Author Share Posted May 18, 2020 Great, thanks for the update Zach. 1 Link to comment Share on other sites More sharing options...
Share Posted February 6, 2022 On 5/18/2020 at 8:49 AM, ZachSaucier said: Yes, thanks for posting, Petr. You might also be interested in knowing that the next release of GSAP should have a more complete set of Typescript declarations with JSDocs comments, so users (especially in software like VSCode) will be able to more easily autocomplete and learn about GSAP right in the editor. When is the next release or has it already been released? Link to comment Share on other sites More sharing options...
Share Posted February 6, 2022 There have been many, many releases since that post The TypeScript definitions are in pretty solid shape at this point. Are you running into any trouble @Dizablah The Lamot? 1 Link to comment Share on other sites More sharing options...
Share Posted February 7, 2022 Hi Petr. I'm not sure does it important snippets but if you add .set, maybe add .quickSetter gsap.quickSetter("element", "propName") Also maybe add some plugins like ScrollTrigger: ScrollTrigger.create({ trigger: selector, start: "position", end: "position", }) Draggable.create(selector,{props}) var split = new SplitText(selectors); Also maybe add registration plugin gsap.registerPlugin(pluginName); Or maybe utils gsap.utils.UtilName(UtilProperty) This is just ideas. Link to comment Share on other sites More sharing options...
Share Posted February 8, 2022 On 2/6/2022 at 3:12 PM, GreenSock said: There have been many, many releases since that post The TypeScript definitions are in pretty solid shape at this point. Are you running into any trouble @Dizablah The Lamot? No not at all! I was just making sure that I was using the latest version! Thanks for checking! Much appreciated! 1 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