toggle menu
kilua-project
0.0.15
common
switch theme
search in API
kilua-dom
/
web.dom.events
/
KeyboardEvent
Keyboard
Event
open
class
KeyboardEvent
(
type
:
String
,
eventInitDict
:
KeyboardEventInit
)
:
UIEvent
,
JsAny
Exposes the JavaScript
KeyboardEvent
to Kotlin
Members
Constructors
Keyboard
Event
Link copied to clipboard
constructor
(
type
:
String
,
eventInitDict
:
KeyboardEventInit
)
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
cancelable
Link copied to clipboard
open
val
cancelable
:
Boolean
char
Code
Link copied to clipboard
open
val
charCode
:
Int
code
Link copied to clipboard
open
val
code
:
String
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
Composing
Link copied to clipboard
open
val
isComposing
:
Boolean
is
Trusted
Link copied to clipboard
open
val
isTrusted
:
Boolean
key
Link copied to clipboard
open
val
key
:
String
key
Code
Link copied to clipboard
open
val
keyCode
:
Int
location
Link copied to clipboard
open
val
location
:
Int
meta
Key
Link copied to clipboard
open
val
metaKey
:
Boolean
repeat
Link copied to clipboard
open
val
repeat
:
Boolean
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
?
which
Link copied to clipboard
open
val
which
:
Int
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
(
)