InfobarsShowParams class
class InfobarsShowParams extends ChromeObject {
InfobarsShowParams({int tabId, String path, int height}) {
if (tabId != null) this.tabId = tabId;
if (path != null) this.path = path;
if (height != null) this.height = height;
}
InfobarsShowParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
/**
* The tab id for the tab to display the infobar in.
*/
int get tabId => jsProxy['tabId'];
set tabId(int value) => jsProxy['tabId'] = value;
/**
* The html file that contains the infobar.
*/
String get path => jsProxy['path'];
set path(String value) => jsProxy['path'] = value;
/**
* The height (in pixels) of the infobar to show. If omitted, the default
* infobar height will be used.
*/
int get height => jsProxy['height'];
set height(int value) => jsProxy['height'] = value;
}
Extends
ChromeObject > InfobarsShowParams
Constructors
new InfobarsShowParams({int tabId, String path, int height}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
InfobarsShowParams({int tabId, String path, int height}) {
if (tabId != null) this.tabId = tabId;
if (path != null) this.path = path;
if (height != null) this.height = height;
}
new InfobarsShowParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
InfobarsShowParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int height #
The height (in pixels) of the infobar to show. If omitted, the default infobar height will be used.
int get height => jsProxy['height'];
set height(int value) => jsProxy['height'] = value;
String path #
The html file that contains the infobar.
String get path => jsProxy['path'];
set path(String value) => jsProxy['path'] = value;
int tabId #
The tab id for the tab to display the infobar in.
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();