Dart Documentationchrome.browserActionBrowserActionSetTitleParams

BrowserActionSetTitleParams class

class BrowserActionSetTitleParams extends ChromeObject {
 BrowserActionSetTitleParams({String title, int tabId}) {
   if (title != null) this.title = title;
   if (tabId != null) this.tabId = tabId;
 }
 BrowserActionSetTitleParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * The string the browser action should display when moused over.
  */
 String get title => jsProxy['title'];
 set title(String value) => jsProxy['title'] = value;

 /**
  * Limits the change to when a particular tab is selected. Automatically
  * resets when the tab is closed.
  */
 int get tabId => jsProxy['tabId'];
 set tabId(int value) => jsProxy['tabId'] = value;
}

Extends

ChromeObject > BrowserActionSetTitleParams

Constructors

new BrowserActionSetTitleParams({String title, int tabId}) #

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

docs inherited from ChromeObject
BrowserActionSetTitleParams({String title, int tabId}) {
 if (title != null) this.title = title;
 if (tabId != null) this.tabId = tabId;
}

new BrowserActionSetTitleParams.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int tabId #

Limits the change to when a particular tab is selected. Automatically resets when the tab is closed.

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

String title #

The string the browser action should display when moused over.

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