Spec-Zone.ru › Dart 1

dart:html

Свойство opener

WindowBase opener

Ссылка на окно, которое открыло это окно.

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

Исходный код

@DomName('Window.opener')
@DocsEditable()
WindowBase get opener => _convertNativeToDart_Window(
    _blink.BlinkWindow.instance.opener_Getter_(this));
void opener=(Window value)

Исходный код

@DomName('Window.opener')
@DocsEditable()
set opener(Window value) =>
    _blink.BlinkWindow.instance.opener_Setter_(this, value);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Window/opener.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API