Can an angular2 renderer render HTML into canvas output?
This is just a proof of concept to showcase the upcoming rendering capabilites of Angular2.
- install NodeJS, NPM. Then install typescript, typings and http-server (via npm)
- npm install
- typings install
- Run
tsc
- Run
http-server -p 8080
- Open
localhost:8080/src
to see the output
Have a look in src/app.ts
to see how the CanvasRenderer is implemented.