Closed maxisix closed 10 years ago
Hi @maxisix, thanks for trying this out!
Do you refer to inline usage? I do not see any problems with simply putting svg inside hidden div, like I did in this test case.
For features like this, I may provide callback hook that receives svg object and allows to alter it before serialisation. What do you think?
Yea i mean inline :) . Its just i dont like to add an other div to wrap this when its possible to hide inline. You're idea seems the good one !
I re-tried and i'am not sure its working well. I did somes socials icon (facebook, instagram, pinterest and vimeo). When i use the gulp task they all merge inside one symbol... Do you have the same problem ?
@maxisix this is strange, can you give me these icons for a test case?
@maxisix your source svg files already contain many icons, you should save each icon into separate file.
oh damn you're right ! My bad !! ;)
Also closes #4
It's a really nice gulp plugin! Is it possible to add an option to display none the SVG ?