Dart Documentationchrome.tabsTabsHighlightParams

TabsHighlightParams class

class TabsHighlightParams extends ChromeObject {
 TabsHighlightParams({int windowId, var tabs}) {
   if (windowId != null) this.windowId = windowId;
   if (tabs != null) this.tabs = tabs;
 }
 TabsHighlightParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * The window that contains the tabs.
  */
 int get windowId => jsProxy['windowId'];
 set windowId(int value) => jsProxy['windowId'] = value;

 /**
  * One or more tab indices to highlight.
  */
 dynamic get tabs => jsProxy['tabs'];
 set tabs(var value) => jsProxy['tabs'] = jsify(value);
}

Extends

ChromeObject > TabsHighlightParams

Constructors

new TabsHighlightParams({int windowId, tabs}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
TabsHighlightParams({int windowId, var tabs}) {
 if (windowId != null) this.windowId = windowId;
 if (tabs != null) this.tabs = tabs;
}

new TabsHighlightParams.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
TabsHighlightParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

var tabs #

One or more tab indices to highlight.

dynamic get tabs => jsProxy['tabs'];
set tabs(var value) => jsProxy['tabs'] = jsify(value);

int windowId #

The window that contains the tabs.

int get windowId => jsProxy['windowId'];
set windowId(int value) => jsProxy['windowId'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();