Jump to content
Search Community

Dose GSDevTools work with DoubleClick ad Banner?

Macrossyiu test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Sure, GSDevTools should work with any GSAP animations on a page. It looks like in your demo, though, you're using the ES module file directly in the browser, in a <script> tag that doesn't have type="module". That's why it's throwing errors. I'd recommend just using the minified file (GSDevTools.min.js) instead which is intended to run in that exact context.

 

Does that help? 

Link to comment
Share on other sites

No no, type="module" is only for if you're using an ES module but you're using the regular ES5 minified file (which is what I'd recommend). Just remove that type="module" and you should be good-to-go. If you're still having trouble, please provide a reduced test case so we can inspect what's going on. I made the change in the files you provided, and it seemed to work great. 

  • Like 1
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.
×
×
  • Create New...