12
Views
1
Comments
[React] How to trigger event when download finishes
Question
Application Type
Reactive

I am building a screen that has a ButtonLoading widget, which displays a loading spinner to represent some asynchronous event. Upon clicking on the button, an OnClick action triggers a file download. I want to display the button's spinner for as long as the file is being downloaded, but I haven't been able to find any way of tracking the progress from a download screen action. 

Is there some download complete notify event that I may not know of?

Thanks

Rank: #2422

Hi Kazymir,

Maybe the Forge component RefreshAfterDownload could help you out. Although the component is made for Traditional Web applications, the logic behind it could help you out or lead you to the right direction.

Hope this helps a bit!

Cheers,

Orçun