S
Solara2y ago
Siddy

Is there any way to download solara ui into PDF

Is there any way to download the entire ui in the webapp. Here I'm trying to build a ui which is generating plots for the test that is entered to solara ui.
3 Replies
MaartenBreddels
Interesting question. Something that might work, is to have playwright on the server side, and generate it there. Another solution would be on the client side using https://github.com/eKoopmans/html2pdf.js Does this help you?
GitHub
GitHub - eKoopmans/html2pdf.js: Client-side HTML-to-PDF rendering u...
Client-side HTML-to-PDF rendering using pure JS. Contribute to eKoopmans/html2pdf.js development by creating an account on GitHub.
Siddy
SiddyOP2y ago
Can please give any reference where both solara and javascript is used
MaartenBreddels
GitHub
solara/solara/components/file_download.py at master · widgetti/solara
A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps - widgetti/solara
GitHub
solara/solara/components/download.vue at master · widgetti/solara
A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps - widgetti/solara

Did you find this page helpful?