annotate 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
rev   line source
adam@2058 1 fun main () : transaction page = return <xml><body>
adam@2058 2 <button onclick={fn _ => alert "AHOY"}><b>CLICK IT</b></button>
adam@2058 3 </body></xml>
adam@2058 4