Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. WindowBase class
WindowBase
description

WindowBase classabstract

Top-level container for a browser tab or window.

In a web browser, aWindowBase object represents any browser window. Thisobject contains the window's state and its relation to otherwindows, such as which window opened this window.

Note: This class represents any window, whileWindow isused to access the properties and content of the current window or tab.

See also

Other resources

Implemented types
Implementers

Constructors

WindowBase()

Properties

closedbool?
Indicates whether this window has been closed.
no setter
hashCodeint
The hash code for this object.
no setterinherited
historyHistoryBase
The current session history for this window.
no setter
locationLocationBase
The current location of this window.
no setter
onEvents
This is an ease-of-use accessor for event streams which should only beused when an explicit accessor is not available.
no setterinherited
openerWindowBase?
A reference to the window that opened this one.
no setter
parentWindowBase?
A reference to the parent of this window.
no setter
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
topWindowBase?
A reference to the topmost window in the window hierarchy.
no setter

Methods

addEventListener(Stringtype,EventListener?listener, [bool?useCapture])→ void
inherited
close()→ void
Closes the window.
dispatchEvent(Eventevent)bool
inherited
noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postMessage(dynamicmessage,StringtargetOrigin, [List<MessagePort>?messagePorts])→ void
Sends a cross-origin message.
removeEventListener(Stringtype,EventListener?listener, [bool?useCapture])→ void
inherited
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited
  1. Dart
  2. dart:html
  3. WindowBase class
dart:html library

[8]ページ先頭

©2009-2025 Movatter.jp