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?
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?
Share Improve this question edited May 23, 2017 at 11:51 CommunityBot 11 silver badge asked Sep 9, 2012 at 6:31 Slim FadiSlim Fadi 1,10710 silver badges14 bronze badges 2- Can I suggest you take a look at feedback.js? It is a work in progress (not mine by the way) but is a nice wrapper around html2canvas... github./niklasvh/feedback.js – JP. Commented Sep 9, 2012 at 6:36
- I did look at it, but I don't want the wrapper I want the thing itself Thnx for the suggestion anyways :) – Slim Fadi Commented Sep 9, 2012 at 12:01
1 Answer
Reset to default 5From 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 ment on the two other scripts included in the /dist directory(the svg ones), given I can't find any examples of their use.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745106657a4611597.html
评论列表(0条)