view tests/button.ur @ 2153:39bd1d4007a9

Apply syntax sugar for 'class' attribute to <form> as well
author Adam Chlipala <adam@chlipala.net>
date Mon, 08 Jun 2015 11:11:46 -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>