trackpadInputPan
fun trackpadInputPan() {
composeTestRule.onNodeWithTag("verticalScrollable").performTrackpadInput {
pan(Offset(0f, 100f))
}
}Sends a pan gesture with the given total offset.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
fun trackpadInputPan() {
composeTestRule.onNodeWithTag("verticalScrollable").performTrackpadInput {
pan(Offset(0f, 100f))
}
}Last updated: