Jump to content
Search Community

Suprabha

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Suprabha

  1. Suprabha

    DrawSVG Plugin

    Thanks a lot, I was finiding min file, but couldn’t able to . Found it in dist now ?
  2. Suprabha

    DrawSVG Plugin

    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 src="./scripts/DrawSVGPlugin.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.
×
×
  • Create New...