S
Solara8mo ago
Arkadii

Embedding Solara / iframe / parameter

I would like to integrate Solara to the exiting application using iframe with passing arguments.
<iframe src="http://localhost:8765/?data=test" width="100%" height="100%"></iframe> How can I read arguments in Solara application? For example in Voila I can use: from voila.utils import get_query_string query_string = get_query_string() How can I do it the same in Solara? Thanks!
2 Replies
MaartenBreddels
MaartenBreddels8mo ago
Hi @Arkadii , you can use https://solara.dev/documentation/api/routing/use_router to get access to the router, which has a .search property
Arkadii
ArkadiiOP8mo ago
Thank you, sir. I'll check it! @MaartenBreddels it works, thank you!
Want results from more Discord servers?
Add your server