Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Create Dynamic Screenshot of any element on a web page - JavaScript

windwindow.takeScreenShot = function() {
    html2canvas(document.getElementById("target"), {
        onrendered: function (canvas) {
            document.body.appendChild(canvas);
        },
        width:320,
        height:220
    });
}ow.takeScreenShot = function() {    html2canvas(document.getElementById("target"), {        onrendered: function (canvas) {            document.body.appendChild(canvas);        },        width:320,        height:220    });}
Source by www.thiscodeworks.com #
 
PREVIOUS NEXT
Tagged: #Create #Dynamic #Screenshot #element #web #page #JavaScript
ADD COMMENT
Topic
Name
6+2 =