Search
Preparing search index...
The search index is not available
@symbiotic/green-state
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"state/ValueState"
ValueState
Class ValueState<T>
Type parameters
T
Hierarchy
State
<
object
>
ValueState
Index
Constructors
constructor
Properties
state
Methods
dispose
get
set
set
State
subscribe
Constructors
constructor
new
Value
State
(
initialValue
:
T
)
:
ValueState
Parameters
initialValue:
T
Returns
ValueState
Properties
state
state
:
object
Type declaration
value
:
T
Methods
dispose
dispose
(
)
:
void
Returns
void
get
get
(
)
:
IMergedState
<
object
>
Returns
IMergedState
<
object
>
set
set
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
set
State
set
State
(
newState
:
Partial
<
object
>
)
:
void
Parameters
newState:
Partial
<
object
>
Returns
void
subscribe
subscribe
(
callback
:
IStateCallback
<
object
>
)
:
(Anonymous function)
Parameters
callback:
IStateCallback
<
object
>
Returns
(Anonymous function)
Globals
"ioc-
react/
Dependency
Container
Context"
"ioc-
react/
Dependency
Container
React
Context"
"ioc-
react/
Inject"
"ioc-
react/
Inject
And
Subscribe"
"ioc-
react/use
Instance"
"ioc-
react/with
Dependencies"
"ioc/
Container"
"state-
react/
Compose"
"state-
react/
Inject
Array"
"state-
react/
Inject
Boolean"
"state-
react/
Inject
Focus"
"state-
react/
Inject
Hover"
"state-
react/
Inject
Number"
"state-
react/
Inject
String"
"state-
react/
Inject
Toggle"
"state-
react/
Inject
Value"
"state-
react/
Subscribe"
"state-
react/use
Subscription"
"state/
Array
State"
"state/
Boolean
State"
"state/
Number
State"
"state/
State"
"state/
String
State"
"state/
Value
State"
Value
State
constructor
state
dispose
get
set
set
State
subscribe
Generated using
TypeDoc