yew/examples/file_upload
WorldSEnder daf6ec0152
Reduce size of examples (#2601)
* Reduce size of examples with this one weird trick

* oops, fixup function_router
2022-04-11 17:02:59 +05:00
..
2022-04-11 17:02:59 +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.