Preparing search index...
The search index is not available
Margarita form reference documentation
Margarita form reference documentation
@margarita-form/core
GeneralState
Class GeneralState<V>
Type Parameters
V
Index
Constructors
constructor
Properties
current
Value
initial
Value?
key
snapshot
Value
state
Methods
matches
set
Value
toJSON
Constructors
constructor
new
General
State
<
V
>
(
state
,
key
,
initialValue
?
,
snapshotValue
?
)
:
GeneralState
<
V
>
Type Parameters
V
Parameters
state
:
StateManager
<
MFC
>
key
:
keyof
MargaritaFormState
Optional
initialValue
:
V
snapshotValue
:
V
= ...
Returns
GeneralState
<
V
>
Properties
current
Value
current
Value
:
V
= ...
Optional
initial
Value
initial
Value
?:
V
key
key
:
keyof
MargaritaFormState
snapshot
Value
snapshot
Value
:
V
= ...
state
state
:
StateManager
<
MFC
>
Methods
matches
matches
(
key
)
:
boolean
Parameters
key
:
keyof
MargaritaFormState
Returns
boolean
set
Value
set
Value
(
key
,
value
)
:
void
Parameters
key
:
keyof
MargaritaFormState
value
:
V
Returns
void
toJSON
toJSON
(
)
:
{}
Returns
{}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
current
Value
initial
Value
key
snapshot
Value
state
Methods
matches
set
Value
toJSON
Margarita form reference documentation
Loading...