onTextInput

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.


Adds a focused callback for both committed characters and input-method preedit updates.

Return

a modifier with the active callback appended nearest the component.

Parameters

callback

focused typed callback deciding propagation.