Dodo
DOm DOcument implementation
Loading...
Searching...
No Matches
Wikimedia\Dodo\Window Class Reference

The Window is not a particularly relevant interface for our use case of building and manipulating a document quickly. More...

+ Inheritance diagram for Wikimedia\Dodo\Window:

Public Member Functions

 __construct (?Document $doc=null)
 
 _run ( $code, $file)
 
 onload ( $handler=null)
 
- Public Member Functions inherited from Wikimedia::IDLeDOM::EventTarget
void addEventListener (string $type, $callback, $options=null)
 
void removeEventListener (string $type, $callback, $options=null)
 
bool dispatchEvent ( $event)
 
- Public Member Functions inherited from Wikimedia::IDLeDOM::Window
Document getDocument ()
 
string getName ()
 
 setName (string $val)
 
Location getLocation ()
 
 setLocation (string $val)
 
string getStatus ()
 
 setStatus (string $val)
 
void close ()
 
bool getClosed ()
 
void stop ()
 
void focus ()
 
void blur ()
 
int getLength ()
 
mixed null getOpener ()
 
 setOpener ( $val)
 
Element null getFrameElement ()
 
Navigator getNavigator ()
 
bool getOriginAgentCluster ()
 
void print ()
 
Event null getEvent ()
 
CSSStyleDeclaration getComputedStyle ( $elt, ?string $pseudoElt=null)
 
- Public Member Functions inherited from Wikimedia::IDLeDOM::GlobalEventHandlers
EventHandlerNonNull callable null getOnload ()
 
 setOnload ( $val)
 

Public Attributes

 $document
 
 $console = null
 
 $history = null
 
 $navigator = null
 

Detailed Description

The Window is not a particularly relevant interface for our use case of building and manipulating a document quickly.

We will, afaik, not need any of the interfaces provided here, since we are operating in a somewhat "headless" mode.

Consider eliminating this, or stubbing it. -forbid-undeclared-magic-properties

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Dodo\Window::__construct ( ?Document $doc = null)
Parameters
Document | null$doc

The documentation for this class was generated from the following file: