Skip to content

Releases: mayakraft/SVG

0.2.3

24 Oct 13:55
b7562ec
Compare
Choose a tag to compare

better controls() and events methods, bring back arrows, integration with Rabbit Ear.

0.2.0

25 Mar 07:25
c94390d
Compare
Choose a tag to compare

follows a complete re-write. wider node and attribute support. new events handlers names, primitives methods, better separation between specification and addons.

functional styling

05 Oct 22:46
Compare
Choose a tag to compare

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

05 Jan 01:24
Compare
Choose a tag to compare

include touch events on mobile devices

first release

29 Dec 18:03
Compare
Choose a tag to compare

it's in a good place