package ezjs_jquery

  1. Overview
  2. Docs
val make_json : string -> 'a
class type promise = object ... end
class type options = object ... end
val set_opt : ('a -> unit) -> 'b option -> unit
val make_options : ?duration:int -> ?easing:string -> ?queue:bool -> ?special:Js_of_ocaml.Js.json Js_of_ocaml.Js.t -> ?progress:(promise Js_of_ocaml.Js.t -> int -> int -> bool Js_of_ocaml.Js.t) -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> ?start:(promise Js_of_ocaml.Js.t -> bool Js_of_ocaml.Js.t) -> ?done_opt:(promise Js_of_ocaml.Js.t -> bool -> bool Js_of_ocaml.Js.t) -> ?fail:(promise Js_of_ocaml.Js.t -> bool -> bool Js_of_ocaml.Js.t) -> ?always:(promise Js_of_ocaml.Js.t -> bool -> bool Js_of_ocaml.Js.t) -> unit -> unit
class type position = object ... end
type position_ml = {
  1. top : string;
  2. left : string;
}
val make_position : position_ml -> position Js_of_ocaml.Js.t
val position_top : position Js_of_ocaml.Js.t -> string
val position_left : position Js_of_ocaml.Js.t -> string
class type event_jq = object ... end
val is_default_prevented : event_jq Js_of_ocaml.Js.t -> bool
val is_immediate_propagation_stopped : event_jq Js_of_ocaml.Js.t -> bool
val is_propagation_stopped : event_jq Js_of_ocaml.Js.t -> bool
val event_namespace : event_jq Js_of_ocaml.Js.t -> string
val pageX : event_jq Js_of_ocaml.Js.t -> int
val pageY : event_jq Js_of_ocaml.Js.t -> int
val prevent_default : event_jq Js_of_ocaml.Js.t -> unit
val event_result : event_jq Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.t
val stop_immediate_propagation : event_jq Js_of_ocaml.Js.t -> unit
val stop_propagation : event_jq Js_of_ocaml.Js.t -> unit
val event_timestamp : event_jq Js_of_ocaml.Js.t -> int
val event_type : event_jq Js_of_ocaml.Js.t -> string
val which : event_jq Js_of_ocaml.Js.t -> int
class type deferred = object ... end
class type pop_options = object ... end
class type toast_options = object ... end
class type modal_options = object ... end
class type jquery = object ... end
val jQ : string -> jquery Js_of_ocaml.Js.t
val tropt : ('a -> 'b) -> 'c option -> 'd Js_of_ocaml.Js.Opt.t
val wrap_handler0 : (unit -> bool) -> ('a, unit -> bool Js_of_ocaml.Js.t) Js_of_ocaml.Js.meth_callback
val wrap_handler1 : ('a -> bool) -> ('b, 'c -> bool Js_of_ocaml.Js.t) Js_of_ocaml.Js.meth_callback
val wrap_handler3 : ('a -> 'b -> 'c -> bool) -> ('d, 'e -> 'f -> 'g -> bool Js_of_ocaml.Js.t) Js_of_ocaml.Js.meth_callback
val wrap_handler4 : ('a -> 'b -> 'c -> 'd -> bool) -> ('e, 'f -> 'g -> 'h -> 'i -> bool Js_of_ocaml.Js.t) Js_of_ocaml.Js.meth_callback
val add_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val add_back : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val add_class_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val add_class_fun : (int -> string -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val after_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val after_fun2 : (int -> string -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val ajax_start : (unit -> bool) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val ajax_stop : (unit -> bool) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val append_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val append_fun : (int -> string -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val append_to_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val attr_get : string -> jquery Js_of_ocaml.Js.t -> string
val attr_set_str : string -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val attr_set_int : string -> int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val attr_set_float : string -> float Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val before_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val before_fun1 : (int -> 'a Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val before_fun2 : (int -> string -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val children : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val clear_queue : ?queue:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val clone : ?wdata:bool -> ?deep:bool -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val closest_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val css_set : string -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val data_get : string -> jquery Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.t
val delay : ?queue:string -> int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val delegate : string -> string -> (event_jq Js_of_ocaml.Js.t -> bool) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val delegate_data : string -> string -> 'a Js_of_ocaml.Js.t -> (event_jq Js_of_ocaml.Js.t -> bool) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val dequeue : ?queue:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val detach : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val die_type : ?handler:string -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val fade_in : ?duration:int -> ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val fade_out : ?duration:int -> ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val fade_to : ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> int -> int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val fade_toggle : ?duration:int -> ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val filter_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val find_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val finish : ?queue:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val has_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val has_class : string -> jquery Js_of_ocaml.Js.t -> bool Js_of_ocaml.Js.t
val height_get : jquery Js_of_ocaml.Js.t -> int
val height_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val height_int : int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val height_fun : (int -> int -> int) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val hide_opt : ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val html_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val html_fun : (int -> string -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val index : jquery Js_of_ocaml.Js.t -> int
val index_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val inner_height : jquery Js_of_ocaml.Js.t -> int
val inner_height_int : int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val inner_height_fun : (int -> int -> int) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val inner_width : jquery Js_of_ocaml.Js.t -> int
val innerWidth_int : int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val innerWidth_fun : (int -> int -> int) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val insert_after_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val insert_before_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val is_str : string -> jquery Js_of_ocaml.Js.t -> bool Js_of_ocaml.Js.t
val length : jquery Js_of_ocaml.Js.t -> int
val load_str : ?data:string -> ?complete: (string -> string -> Js_of_ocaml.XmlHttpRequest.xmlHttpRequest -> bool Js_of_ocaml.Js.t) -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val next : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val next_all : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val next_until_str : ?selector:string -> ?filter:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val next_until_elt : ?element:Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> ?filter:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val next_until_jq : ?jquery:jquery -> ?filter:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val not_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val off_str : ?selector:string -> ?handler:(event_jq Js_of_ocaml.Js.t -> bool) -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val on : ?selector:string -> ?data:'a Js_of_ocaml.Js.t -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val on_fun : ?selector:string -> ?data:'a Js_of_ocaml.Js.t -> string -> (event_jq Js_of_ocaml.Js.t -> bool) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val one : ?selector:string -> ?data:'a Js_of_ocaml.Js.t -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val one_fun : ?selector:string -> ?data:'a Js_of_ocaml.Js.t -> string -> (event_jq Js_of_ocaml.Js.t -> bool) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val outer_height : ?margin:bool -> jquery Js_of_ocaml.Js.t -> int
val outer_height_int : int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val outer_height_fun : (int -> int -> int) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val outer_width : ?margin:bool -> jquery Js_of_ocaml.Js.t -> int
val outer_width_int : int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val outer_width_fun : (int -> int -> int) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val parent : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val parents : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val parents_until_str : ?selector:string -> ?filter:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val parents_until_elt : ?element:Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> ?filter:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val parents_until_jq : ?jquery:jquery -> ?filter:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prepend_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prepend_fun : (int -> string -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prepend_to_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prev : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prev_all : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prev_until_str : ?selector:string -> ?filter:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prev_until_elt : ?element:Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> ?filter:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prev_until_jq : ?jquery:jquery Js_of_ocaml.Js.t -> ?filter:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prop : string -> jquery Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.t
val prop_str : string -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val prop_fun : string -> (int -> 'a Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val push_stack_str : Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t array -> string -> string array -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val queue : ?name:string -> jquery Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.t array
val queue_arr : ?name:string -> 'a Js_of_ocaml.Js.t array -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val remove : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val remove_class_str : ?name:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val remove_class_fun : (int -> string -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val remove_data : ?name:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val remove_data_arr : ?list:string array -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val remove_prop : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val replace_all_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val replace_with_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val scroll_left_get : jquery Js_of_ocaml.Js.t -> int
val scroll_left_set : int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val scroll_top_get : jquery Js_of_ocaml.Js.t -> int
val scroll_top_set : int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val show : ?duration:int -> ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val siblings : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val size : jquery Js_of_ocaml.Js.t -> int
val slice : ?endd:int -> int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val slide_down : ?duration:int -> ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val slide_toggle : ?duration:int -> ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val slide_up : ?duration:int -> ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val stop : ?clear:bool -> ?jump:bool -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val stop_str : ?queue:string -> ?clear:bool -> ?jump:bool -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val text_get : jquery Js_of_ocaml.Js.t -> string
val text_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val text_bool : bool -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val text_fun : (int -> string -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val to_array : jquery Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.t array
val toggle : ?duration:int -> ?easing:string -> ?complete:(unit -> bool Js_of_ocaml.Js.t) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val toggle_bool : bool -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val toggle_fun : ?handler3:(event_jq Js_of_ocaml.Js.t -> bool) -> (event_jq Js_of_ocaml.Js.t -> bool) -> (event_jq Js_of_ocaml.Js.t -> bool) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val toggle_class : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val toggle_class_state : string -> bool -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val toggle_class_opt : ?state:bool -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val toggle_class_fun : ?state:bool -> (int -> string -> bool -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val unbind_fun : ?handler:(event_jq Js_of_ocaml.Js.t -> bool Js_of_ocaml.Js.t) -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val unbind_str : string -> bool -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val undelegate_str : string -> string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val undelegate_fun : string -> string -> (event_jq Js_of_ocaml.Js.t -> bool) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val undelegate_nm : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val unload_opt : ?data:'a Js_of_ocaml.Js.t -> (event_jq -> bool) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val unwrap_opt : ?selector:string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val val_str : jquery Js_of_ocaml.Js.t -> string
val val_int : jquery Js_of_ocaml.Js.t -> int
val val_arr : jquery Js_of_ocaml.Js.t -> int array
val val_set_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val val_set_int : int -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val val_set_arr : string array -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val val_set_fun : (int -> string -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val width : jquery Js_of_ocaml.Js.t -> int
val width_fun : (int -> int -> int) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val wrap_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val wrap_fun : (int -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val wrap_all_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val wrap_all_fun : (unit -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val wrap_inner_str : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val wrap_inner_fun : (int -> string) -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val popover : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val tooltip : string -> jquery Js_of_ocaml.Js.t -> jquery Js_of_ocaml.Js.t
val jquery_call : 'a -> string -> Js_of_ocaml.Js.Unsafe.any array -> 'b