mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
key[board]event args for Document#createEvent
This commit is contained in:
parent
397d8138e7
commit
aad124fce3
4 changed files with 4 additions and 43 deletions
|
@ -59,7 +59,7 @@ impl KeyboardEvent {
|
|||
}
|
||||
}
|
||||
|
||||
fn new_uninitialized(window: JSRef<Window>) -> Temporary<KeyboardEvent> {
|
||||
pub fn new_uninitialized(window: JSRef<Window>) -> Temporary<KeyboardEvent> {
|
||||
reflect_dom_object(box KeyboardEvent::new_inherited(),
|
||||
&global::Window(window),
|
||||
KeyboardEventBinding::Wrap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue