diff options
author | Ziv Scully <ziv@mit.edu> | 2015-04-07 14:18:53 -0400 |
---|---|---|
committer | Ziv Scully <ziv@mit.edu> | 2015-04-07 14:18:53 -0400 |
commit | 2e47385641f78e86a20e6ed33db9fa7c63da2029 (patch) | |
tree | c19f5f4f9b016c7742ea489e7763f0f075aea171 /tests | |
parent | 8e114ff992a3e730f2eb42095267969eebf75c36 (diff) |
New mouse events oncontextmenu, onmouseenter, and onmouseleave.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/docevents.ur | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/docevents.ur b/tests/docevents.ur index eed38868..906afa2b 100644 --- a/tests/docevents.ur +++ b/tests/docevents.ur @@ -1,6 +1,7 @@ fun main () : transaction page = return <xml> - <body onload={onDblclick (alert "Double click"); - onKeypress (fn k => alert ("Keypress: " ^ show k))}> + <body onload={onDblclick (fn _ => alert "Double click"); + onContextmenu (fn _ => alert "Context menu"); + onKeypress (fn k => alert ("Keypress: " ^ show k.KeyCode))}> Nothing here. - </body> + </body> </xml> |