Hello.
I want to implement this plugin in Ionic3 . As I know a npm package doesn’t have plugins from club, nor @types/gsap. I added DrawSVGPlugin.js into node_modules/gsap and later recreated an android platform.
In .ts file as import I tried:
import { DrawSVGPlugin } from "gsap/DrawSVGPlugin";
By the way, I learned draw SVG is actually a free Jquery plugin:
and you can draw SVG by using CSS3 animation as well.
Create keyframe animation and then animate SVG’s strokedasharray property on CSS3.
You can make the same draw effect without help of any plugin at all…
Check these tutorials on how to animate SVG lines by using CSS3 (or Angular animations). No plugins, javascript libraries required:
This is how SVG line animation is originally created… and it’s not that difficult to learn how it works. In my opinion, this method is better than using a commercial plugin from GSAP.