TabsMoveParams class
class TabsMoveParams extends ChromeObject { TabsMoveParams({int windowId, int index}) { if (windowId != null) this.windowId = windowId; if (index != null) this.index = index; } TabsMoveParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); /** * Defaults to the window the tab is currently in. */ int get windowId => jsProxy['windowId']; set windowId(int value) => jsProxy['windowId'] = value; /** * The position to move the window to. -1 will place the tab at the end of the * window. */ int get index => jsProxy['index']; set index(int value) => jsProxy['index'] = value; }
Extends
ChromeObject > TabsMoveParams
Constructors
new TabsMoveParams({int windowId, int index}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
TabsMoveParams({int windowId, int index}) { if (windowId != null) this.windowId = windowId; if (index != null) this.index = index; }
new TabsMoveParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
TabsMoveParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int index #
The position to move the window to. -1 will place the tab at the end of the window.
int get index => jsProxy['index'];
set index(int value) => jsProxy['index'] = value;
int windowId #
Defaults to the window the tab is currently in.
int get windowId => jsProxy['windowId'];
set windowId(int value) => jsProxy['windowId'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();