annotate tests/globalHandlers.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 |
5bc4fbf9c0fe |
children |
2f8b8952fe27 |
rev |
line source |
adam@1783
|
1 fun main () : transaction page = return <xml>
|
adam@1783
|
2 <body onload={onDblclick (fn ev => alert ("ScreenX = " ^ show ev.ScreenX ^ "\nShiftKey = " ^ show ev.ShiftKey));
|
adam@1783
|
3 onKeypress (fn ev => alert ("KeyCode = " ^ show ev.KeyCode ^ "\nShiftKey = " ^ show ev.ShiftKey))}/>
|
adam@1783
|
4 </xml>
|