onCharInput(action: (ch: string)=>void): KEventController

Register an event that runs when user inputs text.

sincev2000.1

// type into input
onCharInput((ch) => {
    input.text += ch
})