IDLeDOM
DOM interfaces automatically generated from WebIDL
Loading...
Searching...
No Matches
Wikimedia\IDLeDOM\Stub\EventTarget Class Reference

Public Member Functions

void addEventListener (string $type, $callback, $options=null)
 
void removeEventListener (string $type, $callback, $options=null)
 
bool dispatchEvent ($event)
 

Protected Member Functions

Exception _unimplemented ()
 

Member Function Documentation

◆ _unimplemented()

Exception Wikimedia\IDLeDOM\Stub\EventTarget::_unimplemented ( )
abstractprotected
Returns
Exception

◆ addEventListener()

void Wikimedia\IDLeDOM\Stub\EventTarget::addEventListener ( string $type,
$callback,
$options = null )
Parameters
string$type
EventListener | callable | null$callback
AddEventListenerOptions | associative-array | bool | null$options
Returns
void

◆ dispatchEvent()

bool Wikimedia\IDLeDOM\Stub\EventTarget::dispatchEvent ( $event)
Parameters
Event$event
Returns
bool

◆ removeEventListener()

void Wikimedia\IDLeDOM\Stub\EventTarget::removeEventListener ( string $type,
$callback,
$options = null )
Parameters
string$type
EventListener | callable | null$callback
EventListenerOptions | associative-array | bool | null$options
Returns
void

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