toggle menu
kilua-project
0.0.17
common
switch theme
search in API
kilua-dom
/
web.dom.events
/
MouseEvent
Mouse
Event
open
class
MouseEvent
(
type
:
String
,
eventInitDict
:
MouseEventInit
)
:
UIEvent
,
UnionElementOrMouseEvent
,
JsAny
Exposes the JavaScript
MouseEvent
to Kotlin
Inheritors
DragEvent
WheelEvent
PointerEvent
Members
Constructors
Mouse
Event
Link copied to clipboard
constructor
(
type
:
String
)
constructor
(
type
:
String
,
eventInitDict
:
MouseEventInit
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
alt
Key
Link copied to clipboard
open
val
altKey
:
Boolean
bubbles
Link copied to clipboard
open
val
bubbles
:
Boolean
button
Link copied to clipboard
open
val
button
:
Short
buttons
Link copied to clipboard
open
val
buttons
:
Short
cancelable
Link copied to clipboard
open
val
cancelable
:
Boolean
client
X
Link copied to clipboard
open
val
clientX
:
Int
client
Y
Link copied to clipboard
open
val
clientY
:
Int
composed
Link copied to clipboard
open
val
composed
:
Boolean
ctrl
Key
Link copied to clipboard
open
val
ctrlKey
:
Boolean
current
Target
Link copied to clipboard
open
val
currentTarget
:
EventTarget
?
default
Prevented
Link copied to clipboard
open
val
defaultPrevented
:
Boolean
detail
Link copied to clipboard
open
val
detail
:
Int
event
Phase
Link copied to clipboard
open
val
eventPhase
:
Short
is
Trusted
Link copied to clipboard
open
val
isTrusted
:
Boolean
meta
Key
Link copied to clipboard
open
val
metaKey
:
Boolean
offset
X
Link copied to clipboard
open
val
offsetX
:
Double
offset
Y
Link copied to clipboard
open
val
offsetY
:
Double
page
X
Link copied to clipboard
open
val
pageX
:
Double
page
Y
Link copied to clipboard
open
val
pageY
:
Double
region
Link copied to clipboard
open
val
region
:
String
?
related
Target
Link copied to clipboard
open
val
relatedTarget
:
EventTarget
?
screen
X
Link copied to clipboard
open
val
screenX
:
Int
screen
Y
Link copied to clipboard
open
val
screenY
:
Int
shift
Key
Link copied to clipboard
open
val
shiftKey
:
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
view
Link copied to clipboard
open
val
view
:
Window
?
x
Link copied to clipboard
open
val
x
:
Double
y
Link copied to clipboard
open
val
y
:
Double
Functions
composed
Path
Link copied to clipboard
fun
composedPath
(
)
:
JsArray
<
EventTarget
>
get
Modifier
State
Link copied to clipboard
fun
getModifierState
(
keyArg
:
String
)
:
Boolean
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
(
)