package virtual_dom

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Convenience functions for trigger, closely modeling user interactions.

val click_on : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> ?shift_key_down:bool -> ?ctrl_key_down:bool -> ?alt_key_down:bool -> ?meta_key_down:bool -> t -> unit
val submit_form : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val focus : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val blur : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> ?related_target:t -> t -> unit
val input_text : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> text:string -> unit
val keydown : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> ?shift_key_down:bool -> ?ctrl_key_down:bool -> ?alt_key_down:bool -> ?meta_key_down:bool -> t -> key:Js_of_ocaml.Dom_html.Keyboard_code.t -> unit
val set_checkbox : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> ?shift_key_down:bool -> ?ctrl_key_down:bool -> ?alt_key_down:bool -> ?meta_key_down:bool -> t -> checked:bool -> unit
val change : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> value:string -> unit
val drag : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val enter : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val leave : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val over : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val drop : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val end_ : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val mousemove : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val mouseenter : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
val wheel : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> delta_y:float -> unit
OCaml

Innovation. Community. Security.