alexk111 / SVG-Morpheus

JavaScript library enabling SVG icons to morph from one to the other. It implements Material Design's Delightful Details transitions. (THIS PROJECT IS NOT MAINTAINED ANYMORE)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need sample of your script

artrainbow opened this issue · comments

Dear, Alexk111. Help me pls.
I need morphing icon1 to icon2 by SVG-Morpheus. Whats wrong in my code and where i should to write options of morphing?

https://gist.github.com/anonymous/d29b9c16842dd7a43387

@artrainbow you need to add id="myIconSet" to the <svg>, init var options={} and var callback=function() { } before calling the var myIcons = new SVGMorpheus('#myIconsSet' , options, callback);