$.getScript('https://github.com/niklasvh/html2canvas/releases/download/0.4.1/html2canvas.js', function(){
html2canvas(document.body, {
//height: 1024,
//width: 768,
//background: '#fff',
onrendered: function(canvas) {
window.open(canvas.toDataURL( /* "image/jpeg" */ ));
}
});
});
-
-
Save yarkovaleksei/b44b447edb1e7c484934c524f72b5901 to your computer and use it in GitHub Desktop.
javascript
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment