Support for pop-up notifications?
Hello,
Does Solara have support for pop ups on web apps? I didn’t see anything in the docs other than the success or warning messages, but could not figure out how to get them to disappear after showing up. Any ideas? All help is appreciated.
4 Replies
Hi @W!
I'm assuming by pop up you mean a dialog or a similar floating container? Solara has a
ConfirmationDialog
component that you can use for this purpose (see the docs). Otherwise you can access ipyvuetify
components through solara.v
, and use, for instance a snackbar component to communicate statusVuetify
Snackbar component
The snackbar component informs user of a process that your application has performed is will perform. It can be temp...
If you want to see how you can use the Snackbar component in Solara you can take a look at the spots where it's used in the code of our website here
solara/website/components/contact.py
lines 126 to 134