Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering SVG

You're reading from   Mastering SVG Ace web animations, visualizations, and vector graphics with HTML, CSS, and JavaScript

Arrow left icon
Product type Paperback
Published in Sep 2018
Publisher Packt
ISBN-13 9781788626743
Length 312 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Rob Larsen Rob Larsen
Author Profile Icon Rob Larsen
Rob Larsen
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Introducing Scalable Vector Graphics FREE CHAPTER 2. Getting Started with Authoring SVG 3. Digging Deeper with SVG Authoring 4. Using SVG in HTML 5. Working with SVG and CSS 6. JavaScript and SVG 7. Common JavaScript Libraries and SVG 8. SVG Animation and Visualizations 9. Helper Libraries Snap.svg and SVG.js 10. Working with D3.js 11. Tools to Optimize Your SVG 12. Other Books You May Enjoy

Working with AngularJS and SVG


Now it's time to look at using SVG inside more complete application frameworks. We're going to start with AngularJS, the original Version of Google's wildly popular application framework. While AngularJS (Angular  1.*) is old in the context of web frameworks, it remains popular and in use in many environments. It's also familiar to many people and is widely deployed, so taking a brief look at how to work with SVG inside an AngularJS application is useful from multiple perspectives.

This and the following examples will be simpler than the jQuery and pure JavaScript demos. There are two reasons for this. The first is that you've seen a lot of details, under the hood, about how SVG and JavaScript interact in the DOM. You're actually ready to tackle SVG DOM manipulation on your own, so going over a wide number of variations in the different frameworks might not even be that beneficial. Covering the basics should give you enough to go off on your own. 

Secondly, we...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime