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

Register an event that runs when user inputs text.

since

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

Misc