Open pvillaverde opened 3 years ago
This is exactly the solution I am looking for. Has anyone tested this out successfully?
Is this library no longer maintained ?
De-facto yes @bacloud23. If you want Typescript, html-to-image
.
If you don't need it and want heavy optimisation, dom-to-image-more
.
thanks a lot 😁
Greetings!
I needed to create an image from an Ionic application, which uses WebComponents with its ShadowDOM. So I made a change to check if the element has ShadowDOM, use its childrens, otherwise as it were.
I also added the CSS :first-line pseudoElement