libwasm ~master (2024-01-10T15:05:21Z)
Dub
Repo
EventTarget.addEventListener
libwasm
bindings
EventTarget
EventTarget
Undocumented in source. Be warned that the author may not have intended to support it.
void
addEventListener
(string type, Optional!(T1) listener, SumType!(AddEventListenerOptions, bool) options, Optional!(T3) wantsUntrusted)
void
addEventListener
(string type, Optional!(T1) listener, SumType!(AddEventListenerOptions, bool) options)
struct
EventTarget
nothrow
void
addEventListener
(
T1
)
(
string
type
,
scope
auto
ref
Optional
!(
T1
)
listener
,
scope
ref
SumType
!(
AddEventListenerOptions
,
bool
)
options
)
if
(
isTOrPointer
!(
T1
,
EventListener
)
)
void
addEventListener
(string type, Optional!(T1) listener)
Meta
Source
See Implementation
libwasm
bindings
EventTarget
EventTarget
constructors
this
functions
addEventListener
dispatchEvent
getEventHandler
ownerGlobal
removeEventListener
setEventHandler
variables
handle