comparison tests/docevents.ur @ 1555:d5c961c709f9

New client-side, document-level event handlers
author Adam Chlipala <adam@chlipala.net>
date Sat, 03 Sep 2011 11:48:12 -0400
parents
children e8863d9f8c59
comparison
equal deleted inserted replaced
1554:396e8d881205 1555:d5c961c709f9
1 fun main () : transaction page = return <xml>
2 <body onload={onDblclick (alert "Double click");
3 onKeypress (fn k => alert ("Keypress: " ^ show k))}>
4 Nothing here.
5 </body>
6 </xml>