angular2-canvas-renderer-experiment
angular2-canvas-renderer-experiment copied to clipboard
Angular2 Canvas Experiment
Can an angular2 renderer render HTML into canvas output?
NOTE: EXPERIMENTAL
This is just a proof of concept to showcase the upcoming rendering capabilites of Angular2.
install
- 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/srcto see the output
Renderer Code
Have a look in src/app.ts to see how the CanvasRenderer is implemented.