opener property

WindowBase opener

A reference to the window that opened this one.

Window thisWindow = window;
WindowBase otherWindow = thisWindow.open('http://www.example.com/', 'foo');
print(otherWindow.opener == thisWindow); // 'true'

Implementation

WindowBase get opener => _convertNativeToDart_Window(this._get_opener);
void opener= (Window value)

Implementation

set opener(Window value) {
  JS("void", "#.opener = #", this, value);
}