summaryrefslogtreecommitdiff
path: root/demo/alert.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-10 10:49:18 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-10 10:49:18 -0400
commit5646b9630eb86f0d4f393dce6b7fc76cea87421f (patch)
tree1af7a5b935c270a1a5348423a11e8f647ed4ad79 /demo/alert.ur
parent6237af88655d8989ac803d3561074c4304c08922 (diff)
Alert demo
Diffstat (limited to 'demo/alert.ur')
-rw-r--r--demo/alert.ur3
1 files changed, 3 insertions, 0 deletions
diff --git a/demo/alert.ur b/demo/alert.ur
new file mode 100644
index 00000000..0f82e4bb
--- /dev/null
+++ b/demo/alert.ur
@@ -0,0 +1,3 @@
+fun main () = return <xml><body>
+ <button value="Click me!" onclick={alert "You clicked me!"}/>
+</body></xml>