mirror of
https://github.com/yewstack/yew.git
synced 2026-01-18 16:16:48 +00:00
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>
File Upload Example
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.