🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

performKeyPress

Send the specified KeyEvent to the focused component.

performKeyPress

Source set: Common
public fun SemanticsNodeInteraction.performKeyPress(keyEvent: KeyEvent): Boolean

Send the specified KeyEvent to the focused component.

Return

true if the event was consumed. False otherwise.