diff options
Diffstat (limited to 'tests/globalHandlers.ur')
-rw-r--r-- | tests/globalHandlers.ur | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/globalHandlers.ur b/tests/globalHandlers.ur new file mode 100644 index 00000000..2b4fba7b --- /dev/null +++ b/tests/globalHandlers.ur @@ -0,0 +1,4 @@ +fun main () : transaction page = return <xml> + <body onload={onDblclick (fn ev => alert ("ScreenX = " ^ show ev.ScreenX ^ "\nShiftKey = " ^ show ev.ShiftKey)); + onKeypress (fn ev => alert ("KeyCode = " ^ show ev.KeyCode ^ "\nShiftKey = " ^ show ev.ShiftKey))}/> +</xml> |