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

egui_web: Implement copy, cut and paste

This commit is contained in:
Emil Ernerfeldt
2020-11-15 20:55:41 +01:00
parent c57fba41ab
commit 7651e2f15b
9 changed files with 262 additions and 106 deletions

View File

@@ -22,12 +22,16 @@ parking_lot = "0.11"
serde = "1"
serde_json = "1"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
[dependencies.web-sys]
version = "0.3"
features = [
'Clipboard',
'ClipboardEvent',
'console',
'CssStyleDeclaration',
'DataTransfer',
'Document',
'DomRect',
'Element',
@@ -36,6 +40,7 @@ features = [
'KeyboardEvent',
'Location',
'MouseEvent',
'Navigator',
'Performance',
'Storage',
'Touch',