Windows

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

Value members

Concrete methods

def create(createData: UndefOr[CreateOptions], callback: UndefOr[Function1[UndefOr[Window], _]]): Unit
def get(windowId: Id, getInfo: UndefOr[GetOptions], callback: Function1[Window, _]): Unit
def getAll(getInfo: UndefOr[GetOptions], callback: Function1[Array[Window], _]): Unit
def getCurrent(getInfo: UndefOr[GetOptions], callback: Function1[Window, _]): Unit
def getLastFocused(getInfo: UndefOr[GetOptions], callback: Function1[Window, _]): Unit
def remove(windowId: Id, callback: UndefOr[Function0[_]]): Unit
def update(windowId: Id, updateInfo: UpdateOptions, callback: UndefOr[Function1[Window, _]]): 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 onCreated: Event[Function1[Window, _]]
val onFocusChanged: Event[Function1[Id, _]]
val onRemoved: Event[Function1[Id, _]]