diff options
author | 2011-09-03 11:48:12 -0400 | |
---|---|---|
committer | 2011-09-03 11:48:12 -0400 | |
commit | 22dca5aaa24df32b6b59b27b62944d28adcad9ca (patch) | |
tree | 7c32d9dad6206562624b1bb483a1c7b8bbdc4fec /tests | |
parent | 9d335a56ec401b63a35f0e42d6fb8b69cb686c90 (diff) |
New client-side, document-level event handlers
Diffstat (limited to 'tests')
-rw-r--r-- | tests/docevents.ur | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/docevents.ur b/tests/docevents.ur new file mode 100644 index 00000000..eed38868 --- /dev/null +++ b/tests/docevents.ur @@ -0,0 +1,6 @@ +fun main () : transaction page = return <xml> + <body onload={onDblclick (alert "Double click"); + onKeypress (fn k => alert ("Keypress: " ^ show k))}> + Nothing here. + </body> +</xml> |