yew/examples/file_upload
Udasi Tharani 7438cd3059
Redesigned File Upload Example (#2737)
* redesigned file-upload example

* fix clippy issues

Co-authored-by: Martin Molzer <WorldSEnder@users.noreply.github.com>
2022-08-28 20:44:01 +05:00
..
2022-06-19 17:23:33 +05: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.