Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript dom to image

domtoimage.toBlob(document.getElementById('my-node'))
    .then(function (blob) {
        window.saveAs(blob, 'my-node.png');
    });
Source by github.com #
 
PREVIOUS NEXT
Tagged: #javascript #dom #image
ADD COMMENT
Topic
Name
8+7 =