diff options
Diffstat (limited to 'tests/globalHandlers.ur')
-rw-r--r-- | tests/globalHandlers.ur | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/globalHandlers.ur b/tests/globalHandlers.ur index 2b4fba7b..5ab46de8 100644 --- a/tests/globalHandlers.ur +++ b/tests/globalHandlers.ur @@ -2,3 +2,9 @@ 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> + +fun busy () : transaction page = return <xml> + <body onload={onMouseout (fn _ => alert "OUT!"); + onMouseover (fn _ => alert "OVER!"); + onMousemove (fn _ => alert "MOVE!")}/> +</xml> |