showing results for - "create dynamic screenshot of any element on a web page javascript"
Erine
27 Feb 2020
1windwindow.takeScreenShot = function() {
2    html2canvas(document.getElementById("target"), {
3        onrendered: function (canvas) {
4            document.body.appendChild(canvas);
5        },
6        width:320,
7        height:220
8    });
9}ow.takeScreenShot = function() {    html2canvas(document.getElementById("target"), {        onrendered: function (canvas) {            document.body.appendChild(canvas);        },        width:320,        height:220    });}