toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.ui
/
UIObservable
UIObservable
class
UIObservable
<
T
>
(
val
initial
:
T
,
val
observe
:
(
T
)
->
Unit
)
Members
Constructors
UIObservable
Link copied to clipboard
constructor
(
initial
:
T
,
observe
:
(
T
)
->
Unit
)
Properties
current
Value
Link copied to clipboard
var
currentValue
:
T
initial
Link copied to clipboard
val
initial
:
T
observe
Link copied to clipboard
val
observe
:
(
T
)
->
Unit
Functions
get
Value
Link copied to clipboard
operator
fun
getValue
(
obj
:
Any
,
prop
:
KProperty
<
*
>
)
:
T
set
Value
Link copied to clipboard
operator
fun
setValue
(
obj
:
Any
,
prop
:
KProperty
<
*
>
,
value
:
T
)