Spec-Zone.ru › Dart 1

dart:html

window property

Window window

Top-level container for a web page, which is usually a browser tab or window.

Each web page loaded in the browser has its own Window, which is a container for the web page.

If the web page has any <iframe> elements, then each <iframe> has its own Window object, which is accessible only to that <iframe>.

See also:

  • Window from MDN.

Source

Window get window {
  if (_window != null) {
    return _window;
  }
  _window = js.JsNative.toTypedObject(js.context);
  return _window;
}

© 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.html

Spec-Zone.ru

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