mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add onkey* global event handler attributes
This commit is contained in:
parent
b1021c36c5
commit
7f63309602
4 changed files with 7 additions and 36 deletions
|
@ -274,6 +274,9 @@ macro_rules! global_event_handlers(
|
|||
);
|
||||
(NoOnload) => (
|
||||
event_handler!(click, GetOnclick, SetOnclick);
|
||||
event_handler!(keydown, GetOnkeydown, SetOnkeydown);
|
||||
event_handler!(keypress, GetOnkeypress, SetOnkeypress);
|
||||
event_handler!(keypress, GetOnkeyup, SetOnkeyup);
|
||||
event_handler!(input, GetOninput, SetOninput);
|
||||
event_handler!(change, GetOnchange, SetOnchange);
|
||||
event_handler!(submit, GetOnsubmit, SetOnsubmit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue