BrowserActionSetPopupParams class
class BrowserActionSetPopupParams extends ChromeObject { BrowserActionSetPopupParams({int tabId, String popup}) { if (tabId != null) this.tabId = tabId; if (popup != null) this.popup = popup; } BrowserActionSetPopupParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); /** * 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; /** * 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 > BrowserActionSetPopupParams
Constructors
new BrowserActionSetPopupParams({int tabId, String popup}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
BrowserActionSetPopupParams({int tabId, String popup}) { if (tabId != null) this.tabId = tabId; if (popup != null) this.popup = popup; }
new BrowserActionSetPopupParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
BrowserActionSetPopupParams.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 #
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;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();