• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

SVG and ECMAScript

In this book, I have focused primarily on what SVG is capable of: using the declarative XML-compliant syntax alone. However, a huge area for potential development is the combination of ECMAScript (JavaScript) with SVG to produce animations or programmatic interactivity that SVG is incapable of producing alone.

JavaScript can dynamically alter characteristics of an SVG document by altering the Document Object Model, or DOM, for the document. In addition to allowing you to produce animations that closely resemble those produced using the SVG animation elements, you can create powerful interactions that declarative SVG cannot produce.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint