Alerts and Confirmations
Last updated
Last updated
This documentation is based on openToast plugin. Read more about it here.
In all pages and reusable elements, you find a Custom event called 🔔 TOAST. When triggering it there are two required parameters to fill:
a) Message - this is the text that you want to display to a user.
b) Toast Category - this parameter is linked to the 🔔 Toast Categories option set. By default, you can pick Error, Success, or Info as the type oftoast.
Read more about this option set here.
You can easily customize the toast by adjusting the settings on the action.
You might consider using the App text for storing the contents of the messages for easier management. Read more about App text in Bubble manual.
For longer or more complex messages it's better to use a dedicated section inside a popup.
Following our principles of using reusable elements, creating a confirmation popup to message the user is very easy.
Read how to add new section in 🍿 CRUD POPUP REUSABLE in this section.