Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5984340
Event.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
Event.php
View Options
<?php
// AUTOMATICALLY GENERATED. DO NOT EDIT.
// Use `composer build` to regenerate.
namespace
Wikimedia\IDLeDOM
;
/**
* Event
*
* @see https://dom.spec.whatwg.org/#interface-event
*
* @property string $type
* @property EventTarget|null $target
* @property EventTarget|null $srcElement
* @property EventTarget|null $currentTarget
* @property int $eventPhase
* @property bool $cancelBubble
* @property bool $bubbles
* @property bool $cancelable
* @property bool $returnValue
* @property bool $defaultPrevented
* @property bool $composed
* @property bool $isTrusted
* @property float $timeStamp
* @phan-forbid-undeclared-magic-properties
*/
interface
Event
{
/**
* @return string
*/
public
function
getType
():
string
;
/**
* @return EventTarget|null
*/
public
function
getTarget
();
/**
* @return EventTarget|null
*/
public
function
getSrcElement
();
/**
* @return EventTarget|null
*/
public
function
getCurrentTarget
();
/**
* @return list<EventTarget>
*/
public
function
composedPath
():
array
;
/** @var int */
public
const
NONE
=
0
;
/** @var int */
public
const
CAPTURING_PHASE
=
1
;
/** @var int */
public
const
AT_TARGET
=
2
;
/** @var int */
public
const
BUBBLING_PHASE
=
3
;
/**
* @return int
*/
public
function
getEventPhase
():
int
;
/**
* @return void
*/
public
function
stopPropagation
():
void
;
/**
* @return bool
*/
public
function
getCancelBubble
():
bool
;
/**
* @param bool $val
*/
public
function
setCancelBubble
(
bool
$val
):
void
;
/**
* @return void
*/
public
function
stopImmediatePropagation
():
void
;
/**
* @return bool
*/
public
function
getBubbles
():
bool
;
/**
* @return bool
*/
public
function
getCancelable
():
bool
;
/**
* @return bool
*/
public
function
getReturnValue
():
bool
;
/**
* @param bool $val
*/
public
function
setReturnValue
(
bool
$val
):
void
;
/**
* @return void
*/
public
function
preventDefault
():
void
;
/**
* @return bool
*/
public
function
getDefaultPrevented
():
bool
;
/**
* @return bool
*/
public
function
getComposed
():
bool
;
/**
* @return bool
*/
public
function
getIsTrusted
():
bool
;
/**
* @return float
*/
public
function
getTimeStamp
():
float
;
/**
* @param string $type
* @param bool $bubbles
* @param bool $cancelable
* @return void
*/
public
function
initEvent
(
string
$type
,
bool
$bubbles
=
false
,
bool
$cancelable
=
false
):
void
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 23:18 (2 w, 6 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e0/f2/1d5e3634948e78720e12a30aa344
Default Alt Text
Event.php (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment