ScriptBadgeSetPopupParams class
class ScriptBadgeSetPopupParams extends ChromeObject { ScriptBadgeSetPopupParams({int tabId, String popup}) { if (tabId != null) this.tabId = tabId; if (popup != null) this.popup = popup; } ScriptBadgeSetPopupParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); /** * The id of the tab for which you want to modify the script badge. */ 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 > ScriptBadgeSetPopupParams
Constructors
new ScriptBadgeSetPopupParams({int tabId, String popup}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
ScriptBadgeSetPopupParams({int tabId, String popup}) { if (tabId != null) this.tabId = tabId; if (popup != null) this.popup = popup; }
new ScriptBadgeSetPopupParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
ScriptBadgeSetPopupParams.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 script badge.
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();