diff options
author | Adam Chlipala <adam@chlipala.net> | 2015-07-02 12:42:49 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2015-07-02 12:42:49 -0400 |
commit | afc300a29b7e4cd868858ef5bcf9d0f9829f4b8a (patch) | |
tree | 84c32b122c45030cf86bff3b738bc742870b36eb /tests | |
parent | 9bc8214356403845bb44535127c46e6378fa1ba6 (diff) |
Allow mouse and key events for <body>
Diffstat (limited to 'tests')
-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> |