Lazy download button #2234
Unanswered
yha
asked this question in
Questions about using Pluto
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to have a download button that generates the data to be downloaded (a video file) only when clicked.
I've tried putting the data computation in a lazy array, so it's generated on the first array read, but apparently the
DownloadButton
implementation reads it before the button click.I came up with a two-button solution, with a "Make video" button and a separate "Download" button:
Is there a way to do this that without an additional button?
Beta Was this translation helpful? Give feedback.
All reactions