package ocaml-js-stdlib

  1. Overview
  2. Docs
class event : Ojs.t -> object ... end
class mouse_event : Ojs.t -> object ... end
class keyboard_event : Ojs.t -> object ... end
class hash_change_event : Ojs.t -> object ... end
class page_transition_event : Ojs.t -> object ... end
class focus_event : Ojs.t -> object ... end
class animation_event : Ojs.t -> object ... end
class transition_event : Ojs.t -> object ... end
class wheel_event : Ojs.t -> object ... end
class message_event : Ojs.t -> object ... end
class file_event : Ojs.t -> object ... end
type !_ t =
  1. | Click : mouse_event t
  2. | DblClick : mouse_event t
  3. | MouseDown : mouse_event t
  4. | MouseEnter : mouse_event t
  5. | MouseLeave : mouse_event t
  6. | MouseMove : mouse_event t
  7. | MouseOut : mouse_event t
  8. | MouseOver : mouse_event t
  9. | MouseUp : mouse_event t
  10. | KeyDown : keyboard_event t
  11. | KeyPress : keyboard_event t
  12. | KeyUp : keyboard_event t
  13. | HashChange : hash_change_event t
  14. | Load : event t
  15. | Message : message_event t
  16. | Resize : event t
  17. | LoadEnd : file_event t
  18. | Change : event t
type 'a callback
val wrap_callback : 'a t -> ('a -> unit) -> 'a callback
class listener : Ojs.t -> object ... end
OCaml

Innovation. Community. Security.