Mercurial > urweb
view tests/docevents.ur @ 2294:f8903af753ff
Support nested queries but disable UrFlow for now.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Thu, 19 Nov 2015 01:59:00 -0500 |
parents | e8863d9f8c59 |
children |
line wrap: on
line source
fun main () : transaction page = return <xml> <body onload={onDblclick (fn _ => alert "Double click"); onContextmenu (fn _ => alert "Context menu"); onKeypress (fn k => alert ("Keypress: " ^ show k.KeyCode))}> Nothing here. </body> </xml>