Preparing search index...
The search index is not available
Margarita form reference documentation
Margarita form reference documentation
@margarita-form/core
ConfigManager
Class ConfigManager<CONTROL>
Type Parameters
CONTROL
extends
MFC
=
MFC
Hierarchy (
view full
)
BaseManager
<
MargaritaFormConfig
>
ConfigManager
Index
Constructors
constructor
Properties
_value
control
initial
Value?
subscriptions
manager
Name
Accessors
changes
name
other
Changes
value
Methods
after
Initialize
cleanup
create
Subscription
emit
Change
on
Cleanup
on
Initialize
prepare
update
Config
join
Configs
Constructors
constructor
new
Config
Manager
<
CONTROL
>
(
control
)
:
ConfigManager
<
CONTROL
>
Type Parameters
CONTROL
extends
MFC
=
MFC
Parameters
control
:
CONTROL
Returns
ConfigManager
<
CONTROL
>
Properties
_value
_value
:
MargaritaFormConfig
= ...
control
control
:
CONTROL
Optional
initial
Value
initial
Value
?:
MargaritaFormConfig
subscriptions
subscriptions
:
Subscription
[]
= []
Static
manager
Name
manager
Name
:
keyof
Managers
= 'config'
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
<
MargaritaFormConfig
>
Type Parameters
VALUE
=
unknown
Parameters
change
:
VALUE
Returns
Promise
<
MargaritaFormConfig
>
on
Cleanup
on
Cleanup
(
)
:
void
Returns
void
on
Initialize
on
Initialize
(
)
:
void
Returns
void
prepare
prepare
(
)
:
void
Returns
void
update
Config
update
Config
(
)
:
void
Returns
void
Static
join
Configs
join
Configs
(
...
configs
)
:
MargaritaFormConfig
Parameters
Rest
...
configs
:
(
undefined
|
Partial
<
MargaritaFormConfig
>
)
[]
Returns
MargaritaFormConfig
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_value
control
initial
Value
subscriptions
manager
Name
Accessors
changes
name
other
Changes
value
Methods
after
Initialize
cleanup
create
Subscription
emit
Change
on
Cleanup
on
Initialize
prepare
update
Config
join
Configs
Margarita form reference documentation
Loading...