mwg API
    Preparing search index...

    Variable onCompositionConst

    onComposition: Signal<CompositionInput> = ...

    Fires through an input-method composition, so a text field can show the underlined in-progress characters without committing them: 'update' replaces the preview and 'end' commits text. Keys typed while composing are not also reported by onText (KeyboardEvent.isComposing suppresses them), so a field follows one path or the other, never both.