view tests/docevents.ur @ 2292:23eaec04e0f8

Ran a benchmark!
author Ziv Scully <ziv@mit.edu>
date Tue, 17 Nov 2015 04:08:12 -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>