Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
Skip to content
Kotlin Wrappers API Reference
kotlin-testing-library-user-event
/
testing.library.user.event
/
PointerHost
Pointer
Host
external
class
PointerHost
(
source
)
Members
Constructors
Pointer
Host
Link copied to clipboard
constructor
(
system
:
System
)
Properties
system
Link copied to clipboard
val
system
:
System
Functions
get
Mouse
Target
Link copied to clipboard
fun
getMouseTarget
(
instance
:
Instance
)
:
Element
get
Pointer
Name
Link copied to clipboard
fun
getPointerName
(
keyDef
:
pointerKey
)
:
String
get
Previous
Position
Link copied to clipboard
fun
getPreviousPosition
(
pointerName
:
String
)
:
PointerPosition
?
is
Key
Pressed
Link copied to clipboard
fun
isKeyPressed
(
keyDef
:
pointerKey
)
:
Boolean
move
Link copied to clipboard
suspend
fun
move
(
instance
:
Instance
,
pointerName
:
String
,
position
:
PointerPosition
)
:
Void
move
Async
Link copied to clipboard
fun
moveAsync
(
instance
:
Instance
,
pointerName
:
String
,
position
:
PointerPosition
)
:
Promise
<
Void
>
press
Link copied to clipboard
suspend
fun
press
(
instance
:
Instance
,
keyDef
:
pointerKey
,
position
:
PointerPosition
)
:
Void
press
Async
Link copied to clipboard
fun
pressAsync
(
instance
:
Instance
,
keyDef
:
pointerKey
,
position
:
PointerPosition
)
:
Promise
<
Void
>
release
Link copied to clipboard
suspend
fun
release
(
instance
:
Instance
,
keyDef
:
pointerKey
,
position
:
PointerPosition
)
:
Void
release
Async
Link copied to clipboard
fun
releaseAsync
(
instance
:
Instance
,
keyDef
:
pointerKey
,
position
:
PointerPosition
)
:
Promise
<
Void
>
reset
Click
Count
Link copied to clipboard
fun
resetClickCount
(
)
set
Mouse
Position
Link copied to clipboard
fun
setMousePosition
(
position
:
PointerPosition
)