onPreedit
fun Modifier.onPreedit(propagation: InputResult, action: UiSession.(TextInputEvent.Preedit) -> 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.onPreedit(callback: UiSession.(TextInputEvent.Preedit) -> InputResult): Modifier(source)
Adds a focused input-method preedit callback.
Return
a modifier with the active callback appended nearest the component.
Parameters
callback
focused typed callback deciding propagation.