BrowserAction

@native @JSGlobal("chrome.browserAction") @JSType
object BrowserAction extends Object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def disable(tabId: UndefOr[Int]): Unit
def enable(tabId: UndefOr[Int]): Unit
def getBadgeBackgroundColor(details: TabIdDetails, callback: Function1[Array[Int], _]): Unit
def getBadgeText(details: TabIdDetails, callback: Function1[String, _]): Unit
def getPopup(details: TabIdDetails, callback: Function1[String, _]): Unit
def getTitle(details: TabIdDetails, callback: Function1[String, _]): Unit
def setBadgeText(details: BadgeTextDetails): Unit
def setIcon(details: IconDetails, callback: Function0[_]): Unit
def setPopup(details: PopupDetails): Unit
def setTitle(details: TitleDetails): Unit

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val onClicked: Event[Function1[Tab, _]]