package ezjs_extension

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Browser_common.Windows end
class type window = object ... end
class type getInfo = object ... end
class type createData = object ... end
class type updateInfo = object ... end
class type windows = object ... end
val make_createData : ?url:string -> ?url_l:string list -> ?tabId:int -> ?left:int -> ?top:int -> ?width:int -> ?height:int -> ?focused:bool -> ?typ:string -> ?state:string -> ?allowScriptsToClose:bool -> ?cookieStoreId:int -> ?titlePreface:string -> unit -> createData Ezjs_min.t
val make_updateInfo : ?left:int -> ?top:int -> ?width:int -> ?height:int -> ?focused:bool -> ?drawAttention:bool -> ?state:string -> ?titlePreface:string -> unit -> updateInfo Ezjs_min.t
val windows : windows Ezjs_min.t
val onCreated : (window Ezjs_min.t -> unit) -> unit
val onRemoved : (int -> unit) -> unit
val onFocusChanged : (int -> unit) -> unit
val get : ?info:getInfo Ezjs_min.t -> int -> (window Ezjs_min.t, Js_of_ocaml.Js.Js_error.error_t) Stdlib.result Lwt.t
val getCurrent : ?info:getInfo Ezjs_min.t -> unit -> (window Ezjs_min.t, Js_of_ocaml.Js.Js_error.error_t) Stdlib.result Lwt.t
val getLastFocused : ?info:getInfo Ezjs_min.t -> unit -> (window Ezjs_min.t, Js_of_ocaml.Js.Js_error.error_t) Stdlib.result Lwt.t
val create : ?info:createData Ezjs_min.t -> ?callback:(window Ezjs_min.t -> 'a) -> unit -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val update : ?callback:(window Ezjs_min.t -> 'a) -> int -> updateInfo Ezjs_min.t -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val remove : ?callback:(unit -> 'a) -> int -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
OCaml

Innovation. Community. Security.