Added mime field to DroppedFiles (#3273)

This commit is contained in:
Antoine Beyeler
2023-08-23 15:13:47 +02:00
committed by GitHub
parent ec506c0a43
commit 2c5fc5a0a5
4 changed files with 27 additions and 5 deletions
+3
View File
@@ -155,6 +155,9 @@ pub struct DroppedFile {
/// Name of the file. Set by the `eframe` web backend.
pub name: String,
/// With the `eframe` web backend, this is set to the mime-type of the file (if available).
pub mime: String,
/// Set by the `eframe` web backend.
pub last_modified: Option<std::time::SystemTime>,