[React] How to trigger event when download finishes
Application Type

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?


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!



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.