Tutorial see: https://teropa.info/blog/2016/12/12/graphics-in-angular-2.html
In this tutorial it is shown how you can incorporate SVG and 2D Canvas graphics into Angular applications, and how you can avoid potential problems along the way. It will also show how to add motion to SVG and Canvas graphics by animating them.
- Node.js
- Angular CLI
- Visual Code
Use command git checkout <branch>
to get one of the following branches:
-
- New ng project after
ng init ngx-svg
- New ng project after
-
- Tutorial: Avoiding Element Selectors For Components
-
- Tutorial: CSS Transitions And Animations
-
step4-greensock
Important: npm module gsap is needed, so don't forget to callnpm install
!- Tutorial: Greensock