This indirection is required because event handlers in Karax need to have the 
type proc () or proc (ev: Event; n: VNode).

addEventHandler(tmp3, EventKind.onclick,
    () => lines.add "Hello simulated universe", kxi)

these two ways found in readme, I dont using karax , doest know if there is dom 
event to state binding syntax sugar like vue's v-model, but you can always get 
value from event.target.value through browser native event.

Reply via email to