CreateProperties class
Properties
active
↔ bool ?
Whether the tab should become the active tab in the window. Does not
affect whether the window is focused (see windows.update
). Defaults to
true
.
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter inherited
index
↔ int ?
The position the tab should take in the window. The provided value is
clamped to between zero and the number of tabs in the window.
getter/setter pair
openerTabId
↔ int ?
The ID of the tab that opened this tab. If specified, the opener tab must
be in the same window as the newly created tab.
getter/setter pair
pinned
↔ bool ?
Whether the tab should be pinned. Defaults to false
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
selected
↔ bool ?
Whether the tab should become the selected tab in the window. Defaults to
true
getter/setter pair
toJS
→ CreateProperties
no setter
url
↔ String ?
The URL to initially navigate the tab to. Fully-qualified URLs must
include a scheme (i.e., 'http://www.google.com', not 'www.google.com').
Relative URLs are relative to the current page within the extension.
Defaults to the New Tab Page.
getter/setter pair
windowId
↔ int ?
The window in which to create the new tab. Defaults to the current
window .
getter/setter pair
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited