package virtual_dom

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

Module Node_helpers.User_actionsSource

Convenience functions for trigger, closely modeling user interactions.

Sourceval 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
Sourceval submit_form : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval focus : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval blur : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> ?related_target:t -> t -> unit
Sourceval input_text : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> text:string -> unit
Sourceval 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
Sourceval 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
Sourceval change : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> value:string -> unit
Sourceval drag : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval enter : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval leave : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval over : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval drop : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval end_ : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval mousemove : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval mouseenter : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> unit
Sourceval wheel : ?extra_event_fields:(string * Js_of_ocaml.Js.Unsafe.any) list -> t -> delta_y:float -> unit
OCaml

Innovation. Community. Security.