PurpleKingdomGames / tyrian

Elm-inspired Scala UI library.
https://tyrian.indigoengine.io/
MIT License
350 stars 26 forks source link

File picker #219

Closed hobnob closed 1 year ago

hobnob commented 1 year ago

Adds the capability to select a file by clicking a button, link, or other element in Tyrian. This works by sending a new Cmd (File.select) and waiting for the resulting Msg. The file can then be read with a further command of FileReader.readText or FileReader.readImage