PageActionSetPopupParams class
class PageActionSetPopupParams extends ChromeObject { PageActionSetPopupParams({int tabId, String popup}) { if (tabId != null) this.tabId = tabId; if (popup != null) this.popup = popup; } PageActionSetPopupParams.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 html file to show in a popup. If set to the empty string (''), no * popup is shown. */ String get popup => jsProxy['popup']; set popup(String value) => jsProxy['popup'] = value; }
Extends
ChromeObject > PageActionSetPopupParams
Constructors
new PageActionSetPopupParams({int tabId, String popup}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
PageActionSetPopupParams({int tabId, String popup}) { if (tabId != null) this.tabId = tabId; if (popup != null) this.popup = popup; }
new PageActionSetPopupParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
PageActionSetPopupParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
String popup #
The html file to show in a popup. If set to the empty string (''), no popup is shown.
String get popup => jsProxy['popup'];
set popup(String value) => jsProxy['popup'] = value;
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;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();