Skip to content

Read files using `web-sys` and display the contents in a `leptos` component. Example

License

Notifications You must be signed in to change notification settings

chrisp60/leptos-web-sys-file-reading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leptos And web_sys::FileReader Example

An example of how to use the FileReader and other web-sys api in leptos.

Running

  • trunk serve --open OR trunk serve and go to localhost:8080 in your browser.

Best Practices

This example just unwraps everything. You should not do that in a production app.

Example

Displaying the source code

About

Read files using `web-sys` and display the contents in a `leptos` component. Example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published