Mercurial > urweb
view tests/ctextboxAttrs.ur @ 2248:e09c3dc102ef
Rewrite effectfulness analysis using MonoUtil.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sat, 15 Aug 2015 23:08:37 -0700 |
parents | 2e01a36701eb |
children |
line wrap: on
line source
fun main () : transaction page = s <- source "Initial"; return <xml><body> <ctextbox source={s} onclick={fn ev => alert ("Clicky " ^ show ev.ScreenX)} onkeypress={fn ev => alert ("Code " ^ show ev.KeyCode)}/> </body></xml>