@patternmeshjs/core
Preparing search index...
id
Function id
id
<
const
P
extends
string
>
(
prefix
:
P
,
)
:
FieldDef
&
{
default
(
value
:
Brand
<
string
,
`
${
P
}
Id
`
>
|
(
()
=>
Brand
)
,
)
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
false
,
true
>
;
immutable
()
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
false
,
false
>
;
optional
()
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
false
,
false
>
;
required
()
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
true
,
false
>
;
version
()
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
false
,
false
>
;
}
&
{
_idPrefix
:
P
}
Type Parameters
const
P
extends
string
Parameters
prefix
:
P
Returns
FieldDef
&
{
default
(
value
:
Brand
<
string
,
`
${
P
}
Id
`
>
|
(
()
=>
Brand
)
,
)
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
false
,
true
>
;
immutable
()
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
false
,
false
>
;
optional
()
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
false
,
false
>
;
required
()
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
true
,
false
>
;
version
()
:
FieldApi
<
Brand
<
string
,
`
${
P
}
Id
`
>
,
false
,
false
>
;
}
&
{
_idPrefix
:
P
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@patternmeshjs/core
Loading...