Refresh page
Refreshes a screen connected to external data.

๐Ÿ‘‰ The Tag

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
1
[refresh:pull]
Copied!
The screen is refreshed with a pull-down gesture.
๐Ÿ“ Where to add the tag: The top-level app page.
1
[refresh:always]
Copied!
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.
1
[refresh:once]
Copied!
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.
1
[refresh:interval:<seconds>]
Copied!
Once the page is opened, a remote call is done every <seconds>.
๐Ÿ“ 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.).

๐Ÿท๏ธ How to add the tag

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.
4. Set up your binding as usual. You can use the example request below to get sample data.
5. Preview on Bravo Vision. ๐Ÿš€

๐Ÿ’พ Example files

Duplicate the files below to see how to set it up!
Bravo Tags Cheat Sheet
Figma
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.
1
https://finnhub.io/api/v1/quote?symbol=TSLA&token=brhpek7rh5re1lpb2gl0
Copied!
Last modified 1mo ago