Packagedom.views
Interfacepublic interface DocumentView
Implementors Document

Introduced in: DOM 2 Core 

The DocumentView interface is implemented by Document objects in DOM implementations supporting DOM Views. It provides an attribute to retrieve the default view of a document.

See also

W3C - DocumentView


Public Properties
 PropertyDefined By
  DOM 2 Views defaultView : AbstractView
[read-only] The default AbstractView for this Document, or null if none available.
DocumentView
Property Detail
DOM 2 Views defaultViewproperty
defaultView:AbstractView  [read-only]

Introduced in: DOM 2 Core 

The default AbstractView for this Document, or null if none available.

Note: document.defaultView is generally a reference to the window object for the document, however that is not defined in the specification and can't be relied upon for all host environments, particularly as not all browsers implement it.


Implementation
    public function get defaultView():AbstractView

See also