Comment on page
Refresh page
Refreshes a screen connected to external data.
This set of tags allows to refresh a screen connected to external data, performing an API request and updating the data.
Pull to refresh
Refresh when opening
Refresh once
Refresh every X seconds
[refresh:pull]
The screen is refreshed with a pull-down gesture.
📍 Where to add the tag: The top-level app page.
[refresh:always]
Every time the page is opened, a remote call is done and the data is updated.
📍 Where to add the tag: The top-level app page.
[refresh:once]
Default behaviour. Remote (external data) pages are called once, the first time they are opened.
📍 Where to add the tag: The top-level app page.
[refresh:interval:<seconds>]
Once the page is opened, a remote call is done every <seconds>.
Example: [refresh:interval:300]
📍 Where to add the tag: The top-level app page.
This feature is useful for any external data that changes often (i.e. real-time stats, attendance list, collective entries, etc.).

1. Create an app page design. Make sure you add container(s) as needed.

2. Paste the tag into the layer name of the top-level app page.

3. Import Figma file to Bravo.

5. Preview on Bravo Vision. 🚀
Duplicate the files below to see how to set it up!
Example request: Use this request URL to get sample data for the example app above.
This API updates the stock price every minute, so wait at least a minute between each pull to refresh to see the price change.
https://finnhub.io/api/v1/quote?symbol=TSLA&token=brhpek7rh5re1lpb2gl0
Last modified 8mo ago