DOMEvent
Target
Iface
constructor
g
Iface
name
add_
event_
listener
dispatch_
event
remove_
event_
listener
GJS API Reference
WebKit2WebExtension-4.1
WebKit2WebExtension
DOMEventTargetIface
Class DOMEventTargetIface
Hierarchy
DOMEventTargetIface
Index
Constructors
constructor
Properties
g
Iface
name
Methods
add_
event_
listener
dispatch_
event
remove_
event_
listener
Constructors
constructor
new DOMEvent
Target
Iface
(
)
:
WebKit2WebExtension
.
DOMEventTargetIface
Returns
WebKit2WebExtension
.
DOMEventTargetIface
Properties
g
Iface
g
Iface
:
TypeInterface
Static
name
name
:
string
Methods
add_
event_
listener
add_
event_
listener
(
target
:
WebKit2WebExtension
.
DOMEventTarget
, event_name
:
string
, handler
:
TClosure
<
any
,
any
>
, use_capture
:
boolean
)
:
boolean
Parameters
target:
WebKit2WebExtension
.
DOMEventTarget
event_name:
string
handler:
TClosure
<
any
,
any
>
use_capture:
boolean
Returns
boolean
dispatch_
event
dispatch_
event
(
target
:
WebKit2WebExtension
.
DOMEventTarget
, event
:
WebKit2WebExtension
.
DOMEvent
)
:
boolean
Parameters
target:
WebKit2WebExtension
.
DOMEventTarget
event:
WebKit2WebExtension
.
DOMEvent
Returns
boolean
remove_
event_
listener
remove_
event_
listener
(
target
:
WebKit2WebExtension
.
DOMEventTarget
, event_name
:
string
, handler
:
TClosure
<
any
,
any
>
, use_capture
:
boolean
)
:
boolean
Parameters
target:
WebKit2WebExtension
.
DOMEventTarget
event_name:
string
handler:
TClosure
<
any
,
any
>
use_capture:
boolean
Returns
boolean
DOMEvent
Target
Iface
constructor
g
Iface
name
add_
event_
listener
dispatch_
event
remove_
event_
listener
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJXZWJLaXQyV2ViRXh0ZW5zaW9uXzRfMS5XZWJLaXQyV2ViRXh0ZW5zaW9uLkRPTUV2ZW50VG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