Is it possible to use an event to show a modal when a file download is occurring?
In my case I have a SC API file that is triggered as a routed href on a button and the destination is a file download but the query takes a couple of seconds to complete before the download happens.
<a id="btn175" class="btn btn-primary" href="../export/clubusers_csv">CSV Export</a>
I’d like a modal to show while this takes place. Using normal SC elements on the page you can use the state
value for dynamic events, is there a way with a linked file download?
Community Page
Last updated:
Last updated: