-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addHTML() and fromHTML() is not populating in angular version >8 #2945
Comments
Same problem here in React |
`var doc = new jsPDF(); doc.html(document.body, { |
|
Thanks for pointing to the html function. How can I add the typings for it? |
The typings are located at types/index.d.ts. The TypeScript compiler should pick them up automatically, when using node resolving/npm. |
Thanks @HackbrettXXX but the typings are wrong. I thought I can get them right myself to reflect the new .html method. |
What exactly is wrong with the typings? Note that there are some issues with the margins and positioning currently (e.g. #2924). If you want to correct them a pull request would be very welcome :) |
I finally know why I added the margin attribute, but it didn't work. 😅So if I want to use the margin attribute, which version should I reduce to? |
addHTMl() and fromHTML() is not populating on angular vesion > 8
The text was updated successfully, but these errors were encountered: