Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我下载了html2canvas javascript 插件,它允许我在客户端(浏览器)上截取网页的屏幕截图,但我无法弄清楚我应该在页面标题中包含哪些文件以使用它,我已经看到了有关如何使用它的示例,但是我应该包含哪些文件?
从各种 演示 页面中,您似乎只需要包含在标题中的单个脚本(a或b )。
这与需要 jQuery、.html2canvas.js和. 的旧版本脚本不同jquery.plugin.html2canvas.js。
html2canvas.js
jquery.plugin.html2canvas.js
我无法评论 /dist 目录中包含的另外两个脚本(svg 脚本),因为我找不到它们的使用示例。