Preparing search index...
The search index is not available
Margarita form reference documentation
Margarita form reference documentation
@margarita-form/core
FieldManager
Class FieldManager<CONTROL>
Type Parameters
CONTROL
extends
MFC
Hierarchy (
view full
)
BaseManager
<
CONTROL
[
"field"
]
>
FieldManager
Index
Constructors
constructor
Properties
_value
control
initial
Value?
should
Reset
Control
subscriptions
manager
Name
Accessors
changes
name
other
Changes
value
Methods
after
Initialize
cleanup
create
Subscription
emit
Change
get
Child
Fields
on
Cleanup
on
Initialize
prepare
set
Field
update
Field
Constructors
constructor
new
Field
Manager
<
CONTROL
>
(
control
)
:
FieldManager
<
CONTROL
>
Type Parameters
CONTROL
extends
MFC
Parameters
control
:
CONTROL
Returns
FieldManager
<
CONTROL
>
Properties
_value
_value
:
CONTROL
[
"field"
]
= ...
control
control
:
CONTROL
Optional
initial
Value
initial
Value
?:
CONTROL
[
"field"
]
should
Reset
Control
should
Reset
Control
:
boolean
= false
subscriptions
subscriptions
:
Subscription
[]
= []
Static
manager
Name
manager
Name
:
keyof
Managers
= 'field'
Accessors
changes
get
changes
(
)
:
Observable
<
VALUE
>
Returns
Observable
<
VALUE
>
name
get
name
(
)
:
keyof
Managers
Returns
keyof
Managers
other
Changes
get
otherChanges
(
)
:
Observable
<
unknown
>
Returns
Observable
<
unknown
>
value
get
value
(
)
:
VALUE
Returns
VALUE
set
value
(
value
)
:
void
Parameters
value
:
VALUE
Returns
void
Methods
after
Initialize
after
Initialize
(
)
:
void
Returns
void
cleanup
cleanup
(
)
:
void
Returns
void
create
Subscription
create
Subscription
<
VALUE
>
(
observable
,
callback
)
:
void
Type Parameters
VALUE
=
unknown
Parameters
observable
:
Observable
<
VALUE
>
callback
:
(
(
value
:
VALUE
)
=>
any
)
(
value
)
:
any
Parameters
value
:
VALUE
Returns
any
Returns
void
emit
Change
emit
Change
<
VALUE
>
(
change
)
:
Promise
<
CONTROL
[
"field"
]
>
Type Parameters
VALUE
=
unknown
Parameters
change
:
VALUE
Returns
Promise
<
CONTROL
[
"field"
]
>
get
Child
Fields
get
Child
Fields
<
FIELD
>
(
)
:
FIELD
[]
Type Parameters
FIELD
extends
MFF
=
MFF
|
CONTROL
[
"field"
]
Returns
FIELD
[]
on
Cleanup
on
Cleanup
(
)
:
void
Returns
void
on
Initialize
on
Initialize
(
)
:
void
Returns
void
prepare
prepare
(
)
:
void
Returns
void
set
Field
set
Field
<
FIELD
>
(
field
,
resetControl
?
)
:
void
Type Parameters
FIELD
extends
MFF
=
MFF
|
CONTROL
[
"field"
]
Parameters
field
:
FIELD
resetControl
:
boolean
= false
Returns
void
update
Field
update
Field
<
FIELD
>
(
partialField
,
resetControl
?
)
:
Promise
<
void
>
Type Parameters
FIELD
extends
MFF
=
MFF
|
CONTROL
[
"field"
]
Parameters
partialField
:
Partial
<
FIELD
>
|
Promise
<
Partial
<
FIELD
>
>
resetControl
:
boolean
= false
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_value
control
initial
Value
should
Reset
Control
subscriptions
manager
Name
Accessors
changes
name
other
Changes
value
Methods
after
Initialize
cleanup
create
Subscription
emit
Change
get
Child
Fields
on
Cleanup
on
Initialize
prepare
set
Field
update
Field
Margarita form reference documentation
Loading...