html page to screenshot

47

html page to screenshot -

...
<script>
    function makeScreenshot() {
        html2canvas(document.getElementById("screenshot"), {scale: 1}).then(canvas => {
            document.body.appendChild(canvas);
        });
    }
</script>
</body>

Comments

Submit
0 Comments