first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
html2canvas(document.body).then(function(canvas) {
|
||||
canvas.toBlob(function(blob) {
|
||||
var a = document.createElement('a');
|
||||
var url = URL.createObjectURL(blob);
|
||||
a.href = url;
|
||||
a.download = 'png.png';
|
||||
a.click();
|
||||
window.URL.revokeObjectURL(url);
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user