yew/examples/file_upload
dependabot[bot] d81c49d1de
Update gloo-file requirement from 0.1 to 0.2 (#2121)
Updates the requirements on [gloo-file](https://github.com/rustwasm/gloo) to permit the latest version.
- [Release notes](https://github.com/rustwasm/gloo/releases)
- [Commits](https://github.com/rustwasm/gloo/commits/0.2.0)

---
updated-dependencies:
- dependency-name: gloo-file
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-11 16:25:51 +00:00
..
2020-09-22 00:17:48 +02:00

File Upload Example

Demo

This example allows the user to select a file from their file system. The contents of the selected file are then rendered to the page either as a whole or in chunks.

Concepts

Demonstrates reading from files in Yew with the help of gloo::file.

Improvements

  • Show a progress bar if the file is read in chunks
  • Do something interesting with the uploaded file like displaying pictures
  • Improve the presentation of the example with CSS.