comparison tests/ctextboxAttrs.ur @ 1789:2e01a36701eb

Fix bug in handling of event attributes within client-side widgets
author Adam Chlipala <adam@chlipala.net>
date Sat, 21 Jul 2012 21:07:15 -0400
parents
children
comparison
equal deleted inserted replaced
1788:f57983ba2a36 1789:2e01a36701eb
1 fun main () : transaction page =
2 s <- source "Initial";
3 return <xml><body>
4 <ctextbox source={s} onclick={fn ev => alert ("Clicky " ^ show ev.ScreenX)}
5 onkeypress={fn ev => alert ("Code " ^ show ev.KeyCode)}/>
6 </body></xml>