Interface

TrackpadInjectionScope

The receiver scope of the trackpad input injection lambda from performTrackpadInput.

trackpadInputClick

@Sampled
fun trackpadInputClick() {
    composeTestRule.onNodeWithTag("myComponent").performTrackpadInput {
        // Click in the middle of the node
        click(center)
    }
}
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: