package ezjs_extension

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
class type tabs = object ... end
val tabs : tabs Ezjs_min_lwt.t
val tab_id_none : unit -> Ezjs_min_lwt.js_string Ezjs_min_lwt.t
val captureVisibleTab : ?id:int -> ?options:Extension_utils.Tabs.imageDetails Ezjs_min_lwt.t -> unit -> (string, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val connect : ?info:'a Ezjs_min_lwt.t -> int -> Extension_utils.Runtime.port
val detectLanguage : ?id:int -> unit -> (string, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val discard : ?callback:(unit -> 'a) -> int -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val discard_list : ?callback:(unit -> 'a) -> int list -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val getZoom : ?id:int -> unit -> (float, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val insertCSS : ?id:int -> unit -> Extension_utils.Tabs.details Ezjs_min_lwt.t
val moveInSuccession : ?id:int -> ?options:Extension_utils.Tabs.moveInSuccessionOptions Ezjs_min_lwt.t -> int list -> unit
val print : unit -> unit
val printPreview : unit -> unit Ezjs_min_lwt.Promise.promise Ezjs_min_lwt.t
val reload : ?id:int -> ?props:Extension_utils.Tabs.reloadProperties Ezjs_min_lwt.t -> ?callback:(unit -> 'a) -> unit -> ('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
val remove_list : ?callback:(unit -> 'a) -> int list -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val sendMessage : ?details:Extension_utils.Tabs.details Ezjs_min_lwt.t -> ?callback:('a Ezjs_min_lwt.t -> 'b) -> int -> 'c Ezjs_min_lwt.t -> ('b option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val setZoom : ?id:int -> ?callback:(unit -> 'a) -> float -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val show_list : int list -> unit Ezjs_min_lwt.Promise.promise Ezjs_min_lwt.t
val toggleReaderMode : ?id:int -> unit -> unit Ezjs_min_lwt.Promise.promise Ezjs_min_lwt.t
val onActivated : ('a Ezjs_min_lwt.t -> unit) -> unit
val onAttached : (int -> 'a Ezjs_min_lwt.t -> unit) -> unit
val onCreated : (Extension_utils.Tabs.tab Ezjs_min_lwt.t -> unit) -> unit
val onDetached : (int -> 'a Ezjs_min_lwt.t -> unit) -> unit
val onHighLighted : ('a Ezjs_min_lwt.t -> unit) -> unit
val onMoved : (int -> 'a Ezjs_min_lwt.t -> unit) -> unit
val onRemoved : (int -> 'a Ezjs_min_lwt.t -> unit) -> unit
val onReplaced : (int -> int -> unit) -> unit
val onUpdated : (int -> 'a Ezjs_min_lwt.t -> Extension_utils.Tabs.tab Ezjs_min_lwt.t -> unit) -> unit
val onZoomChanged : ('a Ezjs_min_lwt.t -> unit) -> unit
OCaml

Innovation. Community. Security.