Constructor
new ConfigManager()
A config manager component
- Copyright
- schukai GmbH
Members
defaults
To set the options via the html tag the attribute
data-monster-options
must be used.To set the options via the html tag the attribute data-monster-options
must be used.
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
templates | Object | Template definitions Properties
|
- See
- https://monsterjs.org/en/doc/#configurate-a-monster-control The individual configuration values can be found in the table.
(static) instanceSymbol
This method is called by the
instanceof
operator.This method is called by the instanceof
operator.
Methods
assembleMethodSymbol() → {Monster.Components.Host.Host}
Returns:
getConfig(key) → {Promise.<unknown>}
Parameters:
Name | Type | Description |
---|---|---|
key | string |
Returns:
- Type:
- Promise.<unknown>
hasConfig(key) → {Promise.<boolean>}
Parameters:
Name | Type | Description |
---|---|---|
key | string |
Returns:
- Type:
- Promise.<boolean>
ready() → {Promise}
Returns:
- Type:
- Promise
setConfig(key, value) → {Promise.<unknown>}
Parameters:
Name | Type | Description |
---|---|---|
key | string | |
value | * |
Returns:
- Type:
- Promise.<unknown>
(static) getCSSStyleSheet() → {Array.<CSSStyleSheet>}
Returns:
- Type:
- Array.<CSSStyleSheet>
(static) getTag() → {string}
Returns:
- Type:
- string