Skip to content

Dead/obsolete code with "HTMLOptions" interface? #2886

@HanXHX

Description

@HanXHX

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions