Reputation: 1107
I downloaded the html2canvas javascript plugin that allows me to take a screenshot of a web page on the client side (the browser), but I can't figure out what files I'm supposed to include in the header of the page to use it, I've seen examples on how to use it, but what files should I include?
Upvotes: 1
Views: 5980
Reputation: 7722
From the various demo pages, it appears you only need the single script(a or b) included in your header.
This is different from an older version of the script, which needed jQuery, html2canvas.js
, and jquery.plugin.html2canvas.js
.
I can't comment on the two other scripts included in the /dist directory(the svg ones), given I can't find any examples of their use.
Upvotes: 5