toggle menu
kweb-core
1.4.12
jvm
switch theme
search in API
kweb-core
/
kweb.state
/
KVal
/
addListener
add
Listener
fun
addListener
(
listener
:
(
T
,
T
)
->
Unit
)
:
Long
(
source
)
Add a listener to this KVar. The listener will be called whenever the
value
property changes.