UNPKG

@limetech/lime-elements

Version:
33 lines (30 loc) 727 B
import { r as registerInstance } from './index-2714248e.js'; import { g as globalConfig } from './config-656a588f.js'; const ConfigComponent = class { constructor(hostRef) { registerInstance(this, hostRef); this.config = undefined; } componentDidLoad() { this.setGlobalConfig(); } componentDidUpdate() { this.setGlobalConfig(); } /* * Copy any config settings to the global config object */ setGlobalConfig() { if (!this.config) { return; } for (const key of Object.keys(this.config)) { globalConfig[key] = this.config[key]; } } render() { return null; } }; export { ConfigComponent as limel_config }; //# sourceMappingURL=limel-config.entry.js.map