$.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" */ ));
}
});
});
Last active
June 11, 2016 09:13
-
-
Save jeefave/38b004a75daf9732d4d0 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