functional-models
Preparing search index...
index
ArrayProperty
Function ArrayProperty
ArrayProperty
<
T
extends
DataValue
>
(
config
?:
{}
,
additionalMetadata
?:
{}
,
)
:
Readonly
<
{
createGetter
:
(
value
:
readonly
T
[]
,
modelData
:
Readonly
,
modelInstance
:
ModelInstance
<
Readonly
<
{
[
s
:
string
]:
any
}
>
,
object
,
object
,
>
,
)
=>
ValueGetter
<
readonly
T
[]
,
Readonly
<
{
[
s
:
string
]:
any
}
>
,
object
,
object
,
>
;
getChoices
:
()
=>
readonly
ChoiceTypes
[]
;
getConfig
:
()
=>
object
;
getConstantValue
:
()
=>
undefined
|
readonly
T
[]
;
getDefaultValue
:
()
=>
undefined
|
readonly
T
[]
;
getPropertyType
:
()
=>
string
;
getValidator
:
(
valueGetter
:
ValueGetter
<
readonly
T
[]
,
Readonly
<
{
[
s
:
string
]:
any
}
>
,
object
,
object
,
>
,
)
=>
PropertyValidator
<
Readonly
<
{
[
s
:
string
]:
any
}
>
>
;
}
,
>
A property that has an array of sub values.
Type Parameters
T
extends
DataValue
Parameters
config
:
{}
= {}
additionalMetadata
:
{}
= {}
Returns
Readonly
<
{
createGetter
:
(
value
:
readonly
T
[]
,
modelData
:
Readonly
,
modelInstance
:
ModelInstance
<
Readonly
<
{
[
s
:
string
]:
any
}
>
,
object
,
object
,
>
,
)
=>
ValueGetter
<
readonly
T
[]
,
Readonly
<
{
[
s
:
string
]:
any
}
>
,
object
,
object
,
>
;
getChoices
:
()
=>
readonly
ChoiceTypes
[]
;
getConfig
:
()
=>
object
;
getConstantValue
:
()
=>
undefined
|
readonly
T
[]
;
getDefaultValue
:
()
=>
undefined
|
readonly
T
[]
;
getPropertyType
:
()
=>
string
;
getValidator
:
(
valueGetter
:
ValueGetter
<
readonly
T
[]
,
Readonly
<
{
[
s
:
string
]:
any
}
>
,
object
,
object
,
>
,
)
=>
PropertyValidator
<
Readonly
<
{
[
s
:
string
]:
any
}
>
>
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
functional-models
Loading...
A property that has an array of sub values.