diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-09-03 11:48:12 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-09-03 11:48:12 -0400 |
commit | 22dca5aaa24df32b6b59b27b62944d28adcad9ca (patch) | |
tree | 7c32d9dad6206562624b1bb483a1c7b8bbdc4fec /lib/ur | |
parent | 9d335a56ec401b63a35f0e42d6fb8b69cb686c90 (diff) |
New client-side, document-level event handlers
Diffstat (limited to 'lib/ur')
-rw-r--r-- | lib/ur/basis.urs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index 494eaa4b..5ca27885 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -858,6 +858,15 @@ val onConnectFail : transaction unit -> transaction unit val onDisconnect : transaction unit -> transaction unit val onServerError : (string -> transaction unit) -> transaction unit +(* More standard document-level JavaScript handlers *) +val onClick : transaction unit -> transaction unit +val onDblclick : transaction unit -> transaction unit +val onKeydown : (int -> transaction unit) -> transaction unit +val onKeypress : (int -> transaction unit) -> transaction unit +val onKeyup : (int -> transaction unit) -> transaction unit +val onMousedown : transaction unit -> transaction unit +val onMouseup : transaction unit -> transaction unit + val show_xml : ctx ::: {Unit} -> use ::: {Type} -> bind ::: {Type} -> show (xml ctx use bind) |