Lets take a look at most important elements of data management in the UI Bakery.
Trigger - something that a user or the app should do to launch an action. For example: On mouse click, on select, on load.
Action - an event that receive/send/modify data in your app. It could be used in various cases. For more details see the section undefined
App state variable - a special variable that could store data and be used across different features in UI Bakery. For more details see
To connect data to UI elements you need to follow 3 steps:
After that whenever the trigger happens, the system will execute the set action.
Let’s create an action that navigates use to another page by the click on the button Navigate:
This example is very simple and data connection is capable on more advanced actions. Among them: loading data from and to server with HTTP request or manipulation with data for dynamic changes of UI elements. You can find more detailed description in the sections below.
Didn't find something here? Drop us a line at contact@uibakery.io