view tests/docevents.ur @ 1996:582ea3a4d622

Update manual inaccuracies about client-side functions
author Adam Chlipala <adam@chlipala.net>
date Sun, 13 Apr 2014 21:36:44 -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>