I\'m trying to use HTML2Canvas to render the contents of a div. Here is the code:
var htmlSource = $(\'#potenzial-page\')[0]; $(\'#btn\').on(\"click\", fun
I hope thet help you
html2canvas(htmlSource, {scrollY: -window.scrollY}).then(function(canvas) { var img = canvas.toDataURL(); window.open(img); });