4 ms·
doing something like <my-svg-shape my-directive-that-mutate-svg-props /> doesnt work that well. Displaying SVG has never been a problem,they are like imag
by camus2 12y ago
doing something like
<my-svg-shape my-directive-that-mutate-svg-props />
doesnt work that well. Displaying SVG has never been a problem,they are like images. Unlike images they can be nested ,animated,modified at run time,scaled... if you think you can just create meta svg shapes with directives think again.
- jonase 12y agoI'm very interested in working with SVG in the browser and have found it to work pretty well with React. I built a demo (Code: https://github.com/jonase/elements https://github.com/jonase/elements, App: http://jonase.github.io/elements/ http://jonase.github.io/elements/) using one of the (increasing number of) React wrappers for ClojureScript (Chrome only for the moment I'm afraid)