This widget allows you to implement a “pull-to-refresh” function and a “loading” indicator to visualize a long-running task. There is an option to disable the refresh component, so RefreshComposite will work just like its parent widget Composite. It is useful in situations where you need to temporarily prevent a user from updating the page. The class property refreshEnabled can be used for disabling the refresh function and set to true initially.

Also, take a look at refreshIndicator property. It determines if the loader animation is displayed. This property should be set to false manually once all the tasks on the page are finished and you want to hide reloading animation.

Here is a simple example of using RefeshComposite. Run it using QR code scanner inside your Tabris.js Developer App.