Inject a intitial value in Starter
<div kll-ctrl="foo" kll-s-count="3" kll-s-msg="good"></div>
Exemple
// ctrl/foo.js
export const foo = {
// Is not necessary to add key here,
// but for read your controller, it's a good pratice
state: {
count: 0,
msg: ''
}
onInit(state) {
state.count = Number(state.count) // '3' become 3
console.log(state.msg) // input "good"
}
}