danfickle / danfickle/openhtmltopdf
Using webcomponents with openhtmltopdf?
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
This is more of a curiosity / exploratory question: Can webcomponents be used with openhtmltopdf ? Would it make sense to use web components with openhtmltopdf?
Idea:
Webcomponents allow users to register custom html elements. I imagine that using such elements, might be a good thing to provide specialized components for rendering special PDF elements: e.g. instead of having complex structures with div's + css + more stuff we could use a single custom element that openhtmltopdf will know about and render properly.
I think that it kind of make sense to develop such custom elements specifically for PDF rendering.
I am bringing this out since the specification for web components is out and starting to mature / be supported across all browsers.
WDYT?
https://www.webcomponents.org/
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.