Margarita form reference documentation
Preparing search index...
@margarita-form/core
ConfigManager
Class ConfigManager<CONTROL>
Type Parameters
CONTROL
extends
MFC
=
MFC
Hierarchy (
View Summary
)
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
ConfigManager
<
CONTROL
extends
MFC
=
MFC
>
(
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
initialValue
?:
MargaritaFormConfig
subscriptions
subscriptions
:
Subscription
[]
= []
Static
manager
Name
managerName
:
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
:
VALUE
)
:
void
Parameters
value
:
VALUE
Returns
void
Methods
after
Initialize
afterInitialize
()
:
void
Returns
void
cleanup
cleanup
()
:
void
Returns
void
create
Subscription
createSubscription
<
VALUE
=
unknown
>
(
observable
:
Observable
<
VALUE
>
,
callback
:
(
value
:
VALUE
)
=>
any
,
)
:
void
Type Parameters
VALUE
=
unknown
Parameters
observable
:
Observable
<
VALUE
>
callback
:
(
value
:
VALUE
)
=>
any
Returns
void
emit
Change
emitChange
<
VALUE
=
unknown
>
(
change
:
VALUE
)
:
Promise
<
MargaritaFormConfig
>
Type Parameters
VALUE
=
unknown
Parameters
change
:
VALUE
Returns
Promise
<
MargaritaFormConfig
>
on
Cleanup
onCleanup
()
:
void
Returns
void
on
Initialize
onInitialize
()
:
void
Returns
void
prepare
prepare
()
:
void
Returns
void
update
Config
updateConfig
()
:
void
Returns
void
Static
join
Configs
joinConfigs
(
...
configs
:
(
undefined
|
Partial
<
MargaritaFormConfig
>
)
[]
,
)
:
MargaritaFormConfig
Parameters
...
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...