view tests/button.ur @ 2156:d857da05f042

Allow mouse and key events for <body>
author Adam Chlipala <adam@chlipala.net>
date Thu, 02 Jul 2015 12:42:49 -0400
parents 235b33d62275
children
line wrap: on
line source
fun main () : transaction page = return <xml><body>
  <button onclick={fn _ => alert "AHOY"}><b>CLICK IT</b></button>
</body></xml>