Module browserAction

Index

Variables

Interfaces

Functions

Variables

onClicked: BrowserClickedEvent

Functions

disable(tabId?: number)

Parameters

  • tabId?: number optional

enable(tabId?: number)

Parameters

  • tabId?: number optional

getBadgeBackgroundColor(details: TabDetails, callback: (result: number[]) => void)

Parameters

  • details: TabDetails
  • callback: (result: number[]) => void

getBadgeText(details: TabDetails, callback: (result: string) => void)

Parameters

  • details: TabDetails
  • callback: (result: string) => void

getPopup(details: TabDetails, callback: (result: string) => void)

Parameters

  • details: TabDetails
  • callback: (result: string) => void

getTitle(details: TabDetails, callback: (result: string) => void)

Parameters

  • details: TabDetails
  • callback: (result: string) => void

setBadgeBackgroundColor(details: BadgeBackgroundColorDetails)

Parameters

setBadgeText(details: BadgeTextDetails)

Parameters

setIcon(details: TabIconDetails, callback?: Function)

Parameters

setPopup(details: PopupDetails)

Parameters

setTitle(details: TitleDetails)

Parameters