// 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