Module Browser.Browser_action_browser

include Browser_action_browser_common
type uint8Array = Js_of_ocaml.Typed_array.uint8Array
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 Js_min.t
val set_title : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> ?⁠title:string -> unit -> unit Js_min.t
val set_icon : ?⁠data:imageData Js_min.t -> ?⁠path:string -> ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> unit -> unit Promise.promise Js_min.t
val set_popup : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> ?⁠popup:string -> unit -> unit
val set_badge : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> ?⁠text:string -> unit -> unit
val set_badge_bg : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> ?⁠color:string -> unit -> unit
val set_badge_color : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> ?⁠color:string -> unit -> unit
val enable : ?⁠tabId:int Js_min.t -> unit -> unit
val disable : ?⁠tabId:int Js_min.t -> unit -> unit
val onClicked : (Tabs_utils.tab -> unit) -> unit
val get_title : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> (string -> unit) -> unit
val get_popup : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> (string -> unit) -> unit
val get_badge : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> (string -> unit) -> unit
val get_badge_bg : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> (uint8Array Js_min.t -> unit) -> unit
val get_badge_color : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> (uint8Array Js_min.t -> unit) -> unit
val isEnabled : ?⁠tabId:int Js_min.t -> ?⁠windowId:int Js_min.t -> (bool -> unit) -> unit