javascript - how do I initialize html2canvas? - Stack Overflow

I downloaded the html2canvas javascript plugin that allows me to take a screenshot of a web page on the

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
Add a ment  | 

1 Answer 1

Reset to default 5

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 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

相关推荐

  • javascript - how do I initialize html2canvas? - Stack Overflow

    I downloaded the html2canvas javascript plugin that allows me to take a screenshot of a web page on the

    11小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信