summaryrefslogtreecommitdiff
path: root/demo/alert.ur
diff options
context:
space:
mode:
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>