view tests/bodyClick.ur @ 2266:afd12c75e0d6

Do SQL and pure caching in the same pass.
author Ziv Scully <ziv@mit.edu>
date Wed, 14 Oct 2015 15:45:04 -0400
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>