打开者 属性

WindowBase? opener
重写

指向打开此窗口的窗口的引用。

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

实现

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

实现

set opener(WindowBase? value) native;