diff options
Diffstat (limited to 'tests/bodyClick.ur')
-rw-r--r-- | tests/bodyClick.ur | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/bodyClick.ur b/tests/bodyClick.ur new file mode 100644 index 00000000..9dcc64cf --- /dev/null +++ b/tests/bodyClick.ur @@ -0,0 +1,6 @@ +fun main () : transaction page = return <xml> + <body onclick={fn _ => alert "You clicked the body."} + onkeyup={fn _ => alert "Key"}> + <p>Text</p> + </body> +</xml> |