core
0.40.0
js
core
/
de.peekandpoke.kraft.components.state
/
FunctionalComponentStateProperty
/
onChange
on
Change
js
fun
onChange
(
block
:
(
P
)
->
Unit
)
:
FunctionalComponentStateProperty
<
P
>
Adds a callback that will be called whenever the value has changed