UNPKG

@dooboostore/dom-render

Version:
23 lines 640 B
import { DomRenderFinalProxy } from '../types/Types'; export class ComponentSet { constructor(obj, source, config) { this.obj = obj; this._template = source.template; this._styles = source.styles; this._config = DomRenderFinalProxy.final(Object.assign({ objPath: 'obj' }, config)); } get template() { return this._template; } get styles() { return this._styles; } get config() { return this._config; } setTemplateStyle(set) { this._template = set.template; this._styles = set.styles; } } //# sourceMappingURL=ComponentSet.js.map