You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. The jsdoc comment is outdated. The typings file is closer to the truth, although I'm not sure which of the options are actually respected. E.g. enableLinks does not seem to be used in the code. Could you maybe prepare a pull request that fixes both the jsdoc comment and only lists the correct options in the typings file?
Hi,
I'm working with your lib (2.1.1).
I simply load the module. When I want to use the "html" method, i see an "HTMLOptions" interface:
https://github.com/MrRio/jsPDF/blob/ff854e79ae70169572fa3fbf5937b92f80a38ffc/src/modules/html.js#L964-L982
However in the module, it's a simple "Collection of settings":
https://github.com/MrRio/jsPDF/blob/ff854e79ae70169572fa3fbf5937b92f80a38ffc/src/modules/html.js#L970
What is the right param of html method? Simple object, with some allowed keys (callback, html2canvas, jsPdf) or- "HTMLOptions" ?
The doc only says "Collection of settings" with only "callback" property (http://raw.githack.com/MrRio/jsPDF/master/docs/module-html.html#~html).
Kind regards,
EM
The text was updated successfully, but these errors were encountered: