@dooboostore/dom-render
Version:
html view template engine
27 lines (26 loc) • 608 B
JavaScript
import { DomRenderFinalProxy } from "../types/Types.js";
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;
}
}
export {
ComponentSet
};
//# sourceMappingURL=ComponentSet.js.map