view tests/bodyClick.ur @ 2280:985c8016b592

Merge.
author Ziv Scully <ziv@mit.edu>
date Thu, 12 Nov 2015 08:46:51 -0500
parents d857da05f042
children
line wrap: on
line source
fun main () : transaction page = return <xml>
  <body onclick={fn _ => alert "You clicked the body."}
        onkeyup={fn _ => alert "Key"}>
    <p>Text</p>
  </body>
</xml>