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

Manipulating SVG with Angular


Moving on from AngularJS, let's take a look at the modern evolution of Angular. Angular 2.+ (referred to just as Angular) is a thoroughly modern framework. It's traditionally written in TypeScript, a super-set of JavaScript that adds optional features that Angular takes advantage of to add some incredibly convenient features and functionality to the library.

Getting started with Angular

Since Angular is a newer framework and has a much larger footprint, we'll go through a little bit of the setup to get you going. The code in the downloaded examples will work, but knowing how you get there is pretty useful. So, let's get set up. 

This Angular example will replicate the exact same demo that the AngularJS example provided redone using Angular code. As you've probably already sensed and will continue to learn, the basic issues with dynamic SVG are the same no matter what library or framework you're using; the solutions are just slightly different. 

Note

You can use whatever...

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