package ocaml-vdom

  1. Overview
  2. Docs
type t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
type kind =
  1. | Abort
  2. | Afterprint
  3. | Animationend
  4. | Animationiteration
  5. | Animationstart
  6. | Appinstalled
  7. | Audioend
  8. | Audioprocess
  9. | Audiostart
  10. | Beforeprint
  11. | Beforeunload
  12. | BeginEvent
  13. | Blocked
  14. | Blur
  15. | Boundary
  16. | Cached
  17. | Canplay
  18. | Canplaythrough
  19. | Change
  20. | Chargingchange
  21. | Chargingtimechange
  22. | Checking
  23. | Click
  24. | Close
  25. | Complete
  26. | Compositionend
  27. | Compositionstart
  28. | Compositionupdate
  29. | Contextmenu
  30. | Copy
  31. | Cut
  32. | Dblclick
  33. | Devicechange
  34. | Devicelight
  35. | Devicemotion
  36. | Deviceorientation
  37. | Deviceproximity
  38. | Dischargingtimechange
  39. | DOMActivate
  40. | DOMAttributeNameChanged
  41. | DOMAttrModified
  42. | DOMCharacterDataModified
  43. | DOMContentLoaded
  44. | DOMElementNameChanged
  45. | DOMFocusIn
  46. | DOMFocusOut
  47. | DOMNodeInserted
  48. | DOMNodeInsertedIntoDocument
  49. | DOMNodeRemoved
  50. | DOMNodeRemovedFromDocument
  51. | DOMSubtreeModified
  52. | Downloading
  53. | Drag
  54. | Dragend
  55. | Dragenter
  56. | Dragleave
  57. | Dragover
  58. | Dragstart
  59. | Drop
  60. | Durationchange
  61. | Emptied
  62. | End
  63. | Ended
  64. | EndEvent
  65. | Error
  66. | Focus
  67. | Focusin
  68. | Focusout
  69. | Fullscreenchange
  70. | Fullscreenerror
  71. | Gamepadconnected
  72. | Gamepaddisconnected
  73. | Gotpointercapture
  74. | Hashchange
  75. | Input
  76. | Invalid
  77. | Keydown
  78. | Keypress
  79. | Keyup
  80. | Languagechange
  81. | Levelchange
  82. | Load
  83. | Loadeddata
  84. | Loadedmetadata
  85. | Loadend
  86. | Loadstart
  87. | Lostpointercapture
  88. | Mark
  89. | Message
  90. | Messageerror
  91. | Mousedown
  92. | Mouseenter
  93. | Mouseleave
  94. | Mousemove
  95. | Mouseout
  96. | Mouseover
  97. | Mouseup
  98. | Nomatch
  99. | Notificationclick
  100. | Noupdate
  101. | Obsolete
  102. | Offline
  103. | Online
  104. | Open
  105. | Orientationchange
  106. | Pagehide
  107. | Pageshow
  108. | Paste
  109. | Pause
  110. | Play
  111. | Playing
  112. | Pointercancel
  113. | Pointerdown
  114. | Pointerenter
  115. | Pointerleave
  116. | Pointerlockchange
  117. | Pointerlockerror
  118. | Pointermove
  119. | Pointerout
  120. | Pointerover
  121. | Pointerup
  122. | Popstate
  123. | Progress
  124. | Push
  125. | Pushsubscriptionchange
  126. | Ratechange
  127. | Readystatechange
  128. | RepeatEvent
  129. | Reset
  130. | Resize
  131. | Resourcetimingbufferfull
  132. | Result
  133. | Resume
  134. | Scroll
  135. | Seeked
  136. | Seeking
  137. | Select
  138. | Selectionchange
  139. | Selectstart
  140. | Show
  141. | Slotchange
  142. | Soundend
  143. | Soundstart
  144. | Speechend
  145. | Speechstart
  146. | Stalled
  147. | Start
  148. | Storage
  149. | Submit
  150. | Success
  151. | Suspend
  152. | SVGAbort
  153. | SVGError
  154. | SVGLoad
  155. | SVGResize
  156. | SVGScroll
  157. | SVGUnload
  158. | SVGZoom
  159. | Timeout
  160. | Timeupdate
  161. | Touchcancel
  162. | Touchend
  163. | Touchmove
  164. | Touchstart
  165. | Transitionend
  166. | Unload
  167. | Updateready
  168. | Upgradeneeded
  169. | Userproximity
  170. | Versionchange
  171. | Visibilitychange
  172. | Voiceschanged
  173. | Volumechange
  174. | Waiting
  175. | Wheel
  176. | NonStandard of string
val target : t -> Ojs.t
val prevent_default : t -> unit
val type_ : t -> string
val init_event : t -> kind -> bool -> bool -> unit
val client_x : t -> int
val client_y : t -> int
val page_x : t -> float
val page_y : t -> float
val screen_x : t -> int
val screen_y : t -> int
val movement_x : t -> int
val movement_y : t -> int
val buttons : t -> int
val alt_key : t -> bool
val ctrl_key : t -> bool
val shift_key : t -> bool
val which : t -> int
val code : t -> string
val key : t -> string
val delta_y : t -> float
val delta_x : t -> float
val data_transfer : t -> DataTransfer.t
val data : t -> Ojs.t
val origin : t -> string
OCaml

Innovation. Community. Security.