0👍
The problem is that your slot
is only mounted when the loading is not in progress. When loading starts the slot
is removed which means the loader component will be unmounted and anything that happens in it will not run any watchers or events. The value will never be reported back and the slot never reactivated.
You will need to handle the hiding of the download button somehow differently if you want to have the downloading to happen inside the button.
See fiddle where the child is not removed when loading, properties work correctly.
Source:stackexchange.com