annotate tests/docevents.ur @ 1644:75cf4a68f6c9

More about the JavaScript FFI in the manual
author Adam Chlipala <adam@chlipala.net>
date Wed, 28 Dec 2011 10:30:37 -0500
parents d5c961c709f9
children e8863d9f8c59
rev   line source
adam@1555 1 fun main () : transaction page = return <xml>
adam@1555 2 <body onload={onDblclick (alert "Double click");
adam@1555 3 onKeypress (fn k => alert ("Keypress: " ^ show k))}>
adam@1555 4 Nothing here.
adam@1555 5 </body>
adam@1555 6 </xml>