Dart Documentationchrome.tabsTabsConnectParams

TabsConnectParams class

class TabsConnectParams extends ChromeObject {
 TabsConnectParams({String name}) {
   if (name != null) this.name = name;
 }
 TabsConnectParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * Will be passed into onConnect for content scripts that are listening for
  * the connection event.
  */
 String get name => jsProxy['name'];
 set name(String value) => jsProxy['name'] = value;
}

Extends

ChromeObject > TabsConnectParams

Constructors

new TabsConnectParams({String name}) #

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

docs inherited from ChromeObject
TabsConnectParams({String name}) {
 if (name != null) this.name = name;
}

new TabsConnectParams.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String name #

Will be passed into onConnect for content scripts that are listening for the connection event.

String get name => jsProxy['name'];
set name(String value) => jsProxy['name'] = 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();