1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

[egui_web] Auto-save app state to Local Storage every 30 seconds

This commit is contained in:
Emil Ernerfeldt
2020-12-19 20:50:00 +01:00
parent 2fe1e99218
commit 89937bf636
8 changed files with 59 additions and 34 deletions

View File

@@ -9,7 +9,7 @@ edition = "2018"
crate-type = ["cdylib", "rlib"]
[dependencies]
egui = { path = "../egui", features = ["serde"] }
egui = { path = "../egui", features = ["serde", "serde_json"] }
egui_web = { path = "../egui_web" }
js-sys = "0.3"
serde = { version = "1", features = ["derive"] }