No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
ember-cli-build.js
karma-test-shim.js
karma.conf.js
package.json
tsconfig.json
typings.json

README.md

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

  1. install NodeJS, NPM. Then install typescript, typings and http-server (via npm)
  2. npm install
  3. typings install
  4. Run tsc
  5. Run http-server -p 8080
  6. Open localhost:8080/src to see the output

Renderer Code

Have a look in src/app.ts to see how the CanvasRenderer is implemented.