Tabs

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

Value members

Concrete methods

def captureVisibleTab(windowId: UndefOr[Id], options: UndefOr[CaptureOptions], callback: UndefOr[Function1[String, _]]): Unit
def connect(tabId: Id, connectInfo: UndefOr[ConnectInfo]): Port
def create(createProperties: TabCreateProperties, callback: UndefOr[Function1[Tab, _]]): Unit
def detectLanguage(tabId: UndefOr[Id], callback: Function1[String, _]): Unit
def duplicate(tabId: Id, callback: UndefOr[Function1[UndefOr[Tab], _]]): Unit
def executeScript(tabId: UndefOr[Id], details: CodeInjectionOptions, callback: UndefOr[Function1[UndefOr[Array[Any]], _]]): Unit
def get(tabId: Id, callback: Function1[Tab, _]): Unit
def getCurrent(callback: Function1[Tab, _]): Unit
def getZoom(tabId: UndefOr[Id], callback: Function1[Double, _]): Unit
def getZoomSettings(tabId: UndefOr[Id], callback: Function1[ZoomSettings, _]): Unit
def highlight(highlightInfo: HighlightInfo, callback: Function1[Window, _]): Unit
def insertCSS(tabId: UndefOr[Id], details: CodeInjectionOptions, callback: UndefOr[Function0[_]]): Unit
def move(tabIds: Any, moveProperties: MoveProperties, callback: UndefOr[Function1[Tab | Array[Tab], _]]): Unit
def query(queryInfo: TabQuery, callback: Function1[Array[Tab], _]): Unit
def reload(tabId: UndefOr[Id], reloadProperties: ReloadProperties, callback: UndefOr[Function0[_]]): Unit
def remove(tabIds: Any, callback: UndefOr[Function0[_]]): Unit
def sendMessage(tabId: Id, message: Any, options: UndefOr[MessageOptions], responseCallback: UndefOr[Function1[Any, _]]): Unit
def sendRequest(tabId: Id, request: Any, responseCallback: UndefOr[Function1[Any, _]]): Unit
def setZoom(tabId: UndefOr[Id], zoomFactor: Double, callback: UndefOr[Function0[_]]): Unit
def setZoomSettings(tabId: UndefOr[Id], zoomSettings: ZoomSettings, callback: Function0[_]): Unit
def update(tabId: UndefOr[Id], updateProperties: UpdateProperties, callback: UndefOr[Function1[UndefOr[Tab], _]]): 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 onActivated: Event[Function1[ActiveInfo, _]]
val onAttached: Event[Function2[Id, AttachInfo, _]]
val onCreated: Event[Function1[Tab, _]]
val onDetached: Event[Function2[Id, DetachInfo, _]]
val onHighlighted: Event[Function1[HighlightInfo, _]]
val onMoved: Event[Function2[Id, MoveInfo, _]]
val onRemoved: Event[Function2[Id, RemoveInfo, _]]
val onReplaced: Event[Function2[Id, Id, _]]
val onUpdated: Event[Function3[Id, ChangeInfo, Tab, _]]
val onZoomChange: Event[Function1[ZoomChangeInfo, _]]