Artem2015-11-20 16:40:23
Artem, 2015-11-20 16:40:23

Animating svg in Vivus via file upload?

I'm trying to animate svg through file upload using Vivus.js. To do this, you need to do some manipulations. I found only this information in the dock - Link to the SVG to animate. If set, Vivus will create an object tag and append it to the DOM element given to the constructor. Be careful, use the onReady callback before playing with the Vivus instance.
There is an object wrapper for svg.
What should be written in the callback?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question