Dart Documentationchrome.pageActionPageActionSetTitleParams

PageActionSetTitleParams class

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

 /**
  * The id of the tab for which you want to modify the page action.
  */
 int get tabId => jsProxy['tabId'];
 set tabId(int value) => jsProxy['tabId'] = value;

 /**
  * The tooltip string.
  */
 String get title => jsProxy['title'];
 set title(String value) => jsProxy['title'] = value;
}

Extends

ChromeObject > PageActionSetTitleParams

Constructors

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

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

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

new PageActionSetTitleParams.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int tabId #

The id of the tab for which you want to modify the page action.

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

String title #

The tooltip string.

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();