Page MenuHomeWickedGov Phorge

EventTarget.php
No OneTemporary

Size
958 B
Referenced Files
None
Subscribers
None

EventTarget.php

<?php
// AUTOMATICALLY GENERATED. DO NOT EDIT.
// Use `composer build` to regenerate.
namespace Wikimedia\IDLeDOM;
/**
* EventTarget
*
* @see https://dom.spec.whatwg.org/#interface-eventtarget
*
* @phan-forbid-undeclared-magic-properties
*/
interface EventTarget {
/**
* @param string $type
* @param EventListener|callable|null $callback
* @param AddEventListenerOptions|associative-array|bool|null $options
* @return void
*/
public function addEventListener( string $type, /* ?mixed */ $callback, /* ?mixed */ $options = null ): void;
/**
* @param string $type
* @param EventListener|callable|null $callback
* @param EventListenerOptions|associative-array|bool|null $options
* @return void
*/
public function removeEventListener( string $type, /* ?mixed */ $callback, /* ?mixed */ $options = null ): void;
/**
* @param Event $event
* @return bool
*/
public function dispatchEvent( /* Event */ $event ): bool;
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 10:19 (1 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1c/58/d00af767e4caadccab53b929c227
Default Alt Text
EventTarget.php (958 B)

Event Timeline