rotaryInputScroll
fun rotaryInputScroll() {
composeTestRule.onNodeWithTag("myComponent").performRotaryScrollInput {
rotateToScrollVertically(3.0f)
rotateToScrollVertically(10.0f)
rotateToScrollVertically(2.0f)
}
}Executes the rotary input specified in the given block.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
fun rotaryInputScroll() {
composeTestRule.onNodeWithTag("myComponent").performRotaryScrollInput {
rotateToScrollVertically(3.0f)
rotateToScrollVertically(10.0f)
rotateToScrollVertically(2.0f)
}
}Last updated: