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
})
kaplay logo

3001.0.0-alpha.18

Misc