Mercurial > urweb
view demo/alert.ur @ 2227:adb49db02af4
Fix type in flush FFI call to option string (rather than string).
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Tue, 31 Mar 2015 04:10: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>