/html2canvas-angular

A simple angular wrapper for https://github.com/niklasvh/html2canvas

Primary LanguageHTML

html2canvas-angular

This a angular service wrapper for niklasvh/html2canvas. There are two files

  • sample.html - has a bare-bones angular body to test out the service
  • html2canvas-angular.js - contains a minified version of html2canvas and a basic service wrapper.

Method Reference

RenderBody

returns: promise

Captures the current body and resolves the promise with a canvas element of the page.