onCharacterInput
fun Modifier.onCharacterInput(propagation: InputResult, action: UiSession.(TextInputEvent.Character) -> Unit): Modifier(source)
Subscribes to typed text notifications while deciding propagation immediately on the client. action runs on the screen owner thread, on Paper for a remote screen, and returns no dispatch decision. IME state remains local; only the requested event variant is sent to the server.
fun Modifier.onCharacterInput(callback: UiSession.(TextInputEvent.Character) -> InputResult): Modifier(source)
Adds a focused committed-character callback.
Return
a modifier with the active callback appended nearest the component.
Parameters
callback
focused typed callback deciding propagation.