Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/fragments/lib-v1/storage/js/download.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ result.Body.text().then((string) => {
});
```


<InlineFilter filters={["react", "javascript", "nextjs", "angular", "vue"]}>
You can programmatically download Blobs using JavaScript:

```js
Expand All @@ -77,6 +79,7 @@ async function download() {
downloadBlob(result.Body, 'filename');
}
```
</InlineFilter>

The full return signature of `Storage.get(key, { download: true })` looks like this:

Expand Down