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.
[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]
*Before using it we suggest checking your backend rate limits. We highly recommended not to use it with intervals of less than 10 seconds. Not compatible with the other refresh tags.
π Where to add the tag: The top-level app page.

π·οΈ How to add the tag
Create an app page design. Make sure you add container(s) as needed.

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

Import Figma file to Bravo.
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!
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=brhpek7rh5re1lpb2gl0Last updated
Was this helpful?