comparison lib/ur/basis.urs @ 1791:2f8b8952fe27

Add more global mouse event hooks
author Adam Chlipala <adam@chlipala.net>
date Mon, 23 Jul 2012 08:38:39 -0400
parents 69daa6d70299
children 3d922a28370b
comparison
equal deleted inserted replaced
1790:56b8efff64e7 1791:2f8b8952fe27
979 val onDblclick : (mouseEvent -> transaction unit) -> transaction unit 979 val onDblclick : (mouseEvent -> transaction unit) -> transaction unit
980 val onKeydown : (keyEvent -> transaction unit) -> transaction unit 980 val onKeydown : (keyEvent -> transaction unit) -> transaction unit
981 val onKeypress : (keyEvent -> transaction unit) -> transaction unit 981 val onKeypress : (keyEvent -> transaction unit) -> transaction unit
982 val onKeyup : (keyEvent -> transaction unit) -> transaction unit 982 val onKeyup : (keyEvent -> transaction unit) -> transaction unit
983 val onMousedown : (mouseEvent -> transaction unit) -> transaction unit 983 val onMousedown : (mouseEvent -> transaction unit) -> transaction unit
984 val onMousemove : (mouseEvent -> transaction unit) -> transaction unit
985 val onMouseout : (mouseEvent -> transaction unit) -> transaction unit
986 val onMouseover : (mouseEvent -> transaction unit) -> transaction unit
984 val onMouseup : (mouseEvent -> transaction unit) -> transaction unit 987 val onMouseup : (mouseEvent -> transaction unit) -> transaction unit
985 988
986 (* Prevents default handling of current event *) 989 (* Prevents default handling of current event *)
987 val preventDefault : transaction unit 990 val preventDefault : transaction unit
988 (* Stops propagation of current event *) 991 (* Stops propagation of current event *)