summaryrefslogtreecommitdiff
path: root/tests/bodyClick.ur
blob: 9dcc64cf9abc6350cef5b3d508116c2604d5fe17 (plain)
1
2
3
4
5
6
fun main () : transaction page = return <xml>
  <body onclick={fn _ => alert "You clicked the body."}
        onkeyup={fn _ => alert "Key"}>
    <p>Text</p>
  </body>
</xml>