mwg API
    Preparing search index...

    Interface CompositionInput

    interface CompositionInput {
        phase: CompositionPhase;
        text: string;
    }
    Index
    text: string

    the composition string so far; on 'end' this is the text finally committed