Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
omarel

Which scripts need to be included?

Recommended Posts

I want to include the least scripts as possible. Am I understanding correctly?

 

If I include the TweenMax .js file, that automatically includes TimelineMax, all the basic plugins, eases and extra eases?

Link to comment
Share on other sites

Yep. But honestly I think a lot of people completely misunderstand the whole file size thing. You may actually HURT overall loading times by including multiple smaller files. I discuss it in this article: https://greensock.com/kilobyte-conundrum/. Keep in mind that GSAP is ubiquitously cached and it's smaller than even a single image on most sites. Plus it's whitelisted on every major ad network. 

 

Let us know if you have any other questions or concerns. 

 

Cheers!

  • Like 2
Link to comment
Share on other sites

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.
×