Suprabha
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Suprabha
-
-
Recently I joined GSAP club, I am trying to run drawSVG locally, but couldn't able to. I am getting export error. Please find the error attachment below.
NOTE: I am using vanilla JS, and trying to add it in script like:
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.6.1/gsap.min.js"></script><script>var shapes = "rect, circle, ellipse, polyline"var tl = gsap.timeline({ repeat: -1, yoyo: true })tl.fromTo(shapes,{ drawSVG: "100%" },{ duration: 1, drawSVG: "50% 50%", stagger: 0.1 }).fromTo(shapes,{ drawSVG: "0%" },{ duration: 0.1, drawSVG: "10%", immediateRender: false },"+=0.1")Not sure what I am missing here.
DrawSVG Plugin
in GSAP
Posted
Thanks a lot, I was finiding min file, but couldn’t able to . Found it in dist now 🔥