Releases: mayakraft/SVG
Releases · mayakraft/SVG
0.2.3
0.2.0
functional styling
the top level is the SVG constructor now
var mySVG = SVG();
everything else is still accessible under the namespace
var l = SVG.line(1, 2, 3, 4);
a big new feature is functional style chaining
line(1, 2, 3, 4)
.stroke("black")
.strokeDasharray("2 4");
and creating elements as children. the following will automatically append the line to the SVG.
mySVG.line(1, 2, 3, 4);
2nd release
include touch events on mobile devices
first release
it's in a good place