-
-
Save payingattention/5504362 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// convert a dom element to a PDF and download it | |
convert( $('.invoice') ).to( 'invoice.pdf' ).download() | |
// convert another website to a png and show it on the page | |
convert( $('.invoice') ).to( 'invoice.pdf' ).prependTo( $('.screenshots') ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment