view tests/docevents.ur @ 2280:985c8016b592

Merge.
author Ziv Scully <ziv@mit.edu>
date Thu, 12 Nov 2015 08:46:51 -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>