Mercurial > urweb
view demo/alert.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 | e6bc6bbd7a32 |
children |
line wrap: on
line source
fun main () = return <xml><body> <button value="Click me!" onclick={fn _ => alert "You clicked me!"}/> </body></xml>