Mercurial > urweb
view tests/docevents.ur @ 1784:e6bc6bbd7a32
Update demo code for key/mouse handler change
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 21 Jul 2012 10:12:35 -0400 |
parents | d5c961c709f9 |
children | e8863d9f8c59 |
line wrap: on
line source
fun main () : transaction page = return <xml> <body onload={onDblclick (alert "Double click"); onKeypress (fn k => alert ("Keypress: " ^ show k))}> Nothing here. </body> </xml>