toggle menu
kilua-project
0.0.17
common
switch theme
search in API
kilua-dom
/
web.dom.events
/
Event
Event
open
class
Event
(
type
:
String
,
eventInitDict
:
EventInit
)
:
JsAny
Exposes the JavaScript
Event
to Kotlin
Inheritors
TrackEvent
RelatedEvent
PopStateEvent
HashChangeEvent
PageTransitionEvent
BeforeUnloadEvent
ErrorEvent
PromiseRejectionEvent
MessageEvent
CloseEvent
StorageEvent
CustomEvent
MediaQueryListEvent
ClipboardEvent
MediaKeyMessageEvent
MediaEncryptedEvent
UIEvent
MediaStreamTrackEvent
OverconstrainedErrorEvent
WebGLContextEvent
ServiceWorkerMessageEvent
ExtendableEvent
ProgressEvent
Members
Constructors
Event
Link copied to clipboard
constructor
(
type
:
String
,
eventInitDict
:
EventInit
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
bubbles
Link copied to clipboard
open
val
bubbles
:
Boolean
cancelable
Link copied to clipboard
open
val
cancelable
:
Boolean
composed
Link copied to clipboard
open
val
composed
:
Boolean
current
Target
Link copied to clipboard
open
val
currentTarget
:
EventTarget
?
default
Prevented
Link copied to clipboard
open
val
defaultPrevented
:
Boolean
event
Phase
Link copied to clipboard
open
val
eventPhase
:
Short
is
Trusted
Link copied to clipboard
open
val
isTrusted
:
Boolean
target
Link copied to clipboard
open
val
target
:
EventTarget
?
time
Stamp
Link copied to clipboard
open
val
timeStamp
:
JsNumber
type
Link copied to clipboard
open
val
type
:
String
Functions
composed
Path
Link copied to clipboard
fun
composedPath
(
)
:
JsArray
<
EventTarget
>
init
Event
Link copied to clipboard
fun
initEvent
(
type
:
String
,
bubbles
:
Boolean
,
cancelable
:
Boolean
)
prevent
Default
Link copied to clipboard
fun
preventDefault
(
)
stop
Immediate
Propagation
Link copied to clipboard
fun
stopImmediatePropagation
(
)
stop
Propagation
Link copied to clipboard
fun
stopPropagation
(
)