wip: book documentation
This commit is contained in:
1 parent
7dedad4c26
commit
16dbf4a6f8
87 files changed
+997
-319
No files matched your search
@@ -49,7 +49,9 @@ fn make_synthetic_event(name: &str, val: serde_json::Value) -> Box<dyn Any + Sen
|
||||
Box::new(serde_json::from_value::<CompositionEvent>(val).unwrap())
|
||||
}
|
||||
"keydown" | "keypress" | "keyup" => {
|
||||
Box::new(serde_json::from_value::<KeyboardEvent>(val).unwrap())
|
||||
dbg!(&val);
|
||||
let evt = serde_json::from_value::<KeyboardEvent>(val).unwrap();
|
||||
Box::new(evt)
|
||||
}
|
||||
"focus" | "blur" => {
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user