Kotlin Wrappers API Reference
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
kotlin-browser
/
web.keyboard
/
Keyboard
Keyboard
open
class
Keyboard
(
source
)
MDN Reference
Members
Members & Extensions
Functions
get
Layout
Map
Link copied to clipboard
inline suspend
fun
Keyboard
.
getLayoutMap
(
)
:
KeyboardLayoutMap
get
Layout
Map
Async
Link copied to clipboard
fun
getLayoutMapAsync
(
)
:
Promise
<
KeyboardLayoutMap
>
lock
Link copied to clipboard
inline suspend
fun
Keyboard
.
lock
(
)
inline suspend
fun
Keyboard
.
lock
(
keyCodes
:
ReadonlyArray
<
KeyCode
>
)
lock
Async
Link copied to clipboard
fun
lockAsync
(
keyCodes
:
ReadonlyArray
<
KeyCode
>
=
definedExternally
)
:
Promise
<
Void
?
>
unlock
Link copied to clipboard
fun
unlock
(
)