package ezjs_extension

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Chrome_common.Browser_action end
class type imageData = object ... end
class type tabDetails = object ... end
class type titleDetails = object ... end
class type iconDetails = object ... end
class type popupDetails = object ... end
class type badgeDetails = object ... end
class type badgeColorDetails = object ... end
class type browserAction = object ... end
val browserAction : browserAction Ezjs_min.t
val onClicked : (Extension_utils.Tabs.tab -> unit) -> unit
val set_title : ?id:int -> ?title:string -> ?callback:(unit -> unit) -> unit -> unit
val get_title : ?id:int -> (string -> unit) -> unit
val set_icon : ?data:imageData Ezjs_min.t -> ?path:string -> ?id:int -> ?callback:(unit -> unit) -> unit -> unit
val set_popup : ?id:int -> ?popup:string -> ?callback:(unit -> unit) -> unit -> unit
val get_popup : ?id:int -> (string -> unit) -> unit
val set_badge : ?id:int -> ?text:string -> ?callback:(unit -> unit) -> unit -> unit
val get_badge : ?id:int -> (string -> unit) -> unit
val set_badge_bg : ?id:int -> ?color:string -> ?callback:(unit -> unit) -> unit -> unit
val get_badge_bg : ?id:int -> (uint8Array Ezjs_min.t -> unit) -> unit
val enable : ?id:int -> ?callback:(unit -> unit) -> unit -> unit
val disable : ?id:int -> ?callback:(unit -> unit) -> unit -> unit
OCaml

Innovation. Community. Security.