Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVG JavaScript/ECMAScript API

SVG is ofcourse a XML language, but it's also accessible through JavaScript/ECMAScript. It supports various functions like getCTM, getScreenCTM, getBBox, but I can't find a list anywhere of all the functions that are related to SVG. Or a list that shows which functions are implemented by the various browser vendors. Before I dig into the source, I wonder whether someone did that already, or knows a place where I can find a full API reference for SVG.

like image 911
sluijs Avatar asked May 09 '26 09:05

sluijs


1 Answers

The SVG specification has a DOM chapter From there you can navigate to the different DOM interfaces e.g. basic DOM.

The Mozilla project is also attempting to document the SVG DOM. It has specifica documentation on many interfaces e.g. SVGLengthList and is trying to document what UAs support which DOM methods but that information is currently rather incomplete. Anyone can add additional information/corrections to the mozilla documentation though.

Microsoft also has a documentation site.

like image 90
Robert Longson Avatar answered May 11 '26 22:05

Robert Longson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!