Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// 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
You can’t perform that action at this time.