Jump to content
GreenSock

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

DrawSvg wont work on my svg WHY !!!!!!!!!!!!

Recommended Posts

hi everybody

 

i will try add some animation on my svg. but drawsvg dont work on this .........!!!!!!!!????????

See the Pen PoZwxGX by abbecipher (@abbecipher) on CodePen

Share this post


Link to post
Share on other sites

and apply to only one element in my svg !!!!!!!!!!!!!!!!

See the Pen mdVyQqa by abbecipher (@abbecipher) on CodePen

Share this post


Link to post
Share on other sites
55 minutes ago, abbe said:

hi everybody

 

i will try add some animation on my svg. but drawsvg dont work on this .........!!!!!!!!????????

 

The reason this isn't working is because you are tweening to 100% ... it's already at 100% ... So there is no change to tween. Using a from tween (from 0) it will build up to 100%.

 

And the reason #arrow-line-left and #arrow-head-left are not tweening at all is because they have no stroke. DrawSVGPlugin allows you to progressively reveal (or hide) the stroke of an SVG <path>, <line>, <polyline>, <polygon>, <rect>, or <ellipse>

 

See the Pen qBbELdQ?editors=1010 by sgorneau (@sgorneau) on CodePen

  • Like 5

Share this post


Link to post
Share on other sites

Hey abbe. There's no reason to include ALL CAPS or a bunch of !!!!!. If you state your case plainly we're probably even more likely to help because the request is less aggressive :) 

  • Like 5

Share this post


Link to post
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.

×