Skip to content

v2.6.43

Compare
Choose a tag to compare
@graphieros graphieros released this 03 May 00:56
· 342 commits to master since this release

Print options

Add optional control over html2canvas options for pdf and image generation, in userOptions.print:

print: {
    allowTaint: boolean // default: false
    backgroundColor: string // default: '#FFFFFF'
    useCORS: boolean // default: false
    onclone: (doc: Document) => void || null // default: null
    scale: number // default: 2
    logging: boolean // default: false
}