Decorator that subscribes to configuration data from the ConfigRepository.
This decorator automatically updates the decorated property whenever configuration
data changes in the platform. Returns an object with all configs where the config
key is used as the key. It's the recommended approach over manual subscriptions as
it handles subscription lifecycle automatically.
Returns
A PropertyDecorator that sets up automatic subscription to config data
Decorator that subscribes to configuration data from the ConfigRepository.
This decorator automatically updates the decorated property whenever configuration data changes in the platform. Returns an object with all configs where the config key is used as the key. It's the recommended approach over manual subscriptions as it handles subscription lifecycle automatically.
Returns
A PropertyDecorator that sets up automatic subscription to config data
Remarks
Subscribes to: ConfigRepository
Updates: The decorated property with configuration data (object or specific value)
Lifecycle: Automatically subscribes in
connectedCallbackand unsubscribes indisconnectedCallbackExample
Get all configuration data
Example
Get specific config value by name