Preparing search index...
The search index is not available
Margarita form reference documentation
Margarita form reference documentation
@margarita-form/core
BooleanPairState
Class BooleanPairState
Index
Constructors
constructor
Properties
current
Value
primary
Key
secondary
Key
snapshot
Value
state
Accessors
secondary
Value
Methods
matches
set
Value
toJSON
Constructors
constructor
new
Boolean
Pair
State
(
state
,
primaryKey
,
secondaryKey
,
snapshotValue
?
)
:
BooleanPairState
Parameters
state
:
StateManager
<
MFC
>
primaryKey
:
keyof
MargaritaFormState
secondaryKey
:
keyof
MargaritaFormState
snapshotValue
:
boolean
= true
Returns
BooleanPairState
Properties
current
Value
current
Value
:
boolean
= true
primary
Key
primary
Key
:
keyof
MargaritaFormState
secondary
Key
secondary
Key
:
keyof
MargaritaFormState
snapshot
Value
snapshot
Value
:
boolean
= true
state
state
:
StateManager
<
MFC
>
Accessors
secondary
Value
get
secondaryValue
(
)
:
boolean
Returns
boolean
set
secondaryValue
(
value
)
:
void
Parameters
value
:
boolean
Returns
void
Methods
matches
matches
(
key
)
:
boolean
Parameters
key
:
keyof
MargaritaFormState
Returns
boolean
set
Value
set
Value
(
key
,
value
)
:
void
Parameters
key
:
keyof
MargaritaFormState
value
:
boolean
Returns
void
toJSON
toJSON
(
)
:
{}
Returns
{}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
current
Value
primary
Key
secondary
Key
snapshot
Value
state
Accessors
secondary
Value
Methods
matches
set
Value
toJSON
Margarita form reference documentation
Loading...