view tests/bodyClick.ur @ 2291:50ad02829abd

Make cache flushes happen immediately instead of at end of transaction.
author Ziv Scully <ziv@mit.edu>
date Tue, 17 Nov 2015 02:44:37 -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>