Jump to content
Search Community

GreenSock Snippets for VSCode

Ihatetomatoes test
Moderator Tag

Recommended Posts

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.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
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

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

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!

  • Like 1
Link to comment
Share on other sites

  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...