@dooboostore/dom-render
Version:
html view template engine
22 lines • 618 B
TypeScript
export type ComponentSetConfig = {
objPath?: string | null;
beforeComponentSet?: ComponentSet;
};
export declare class ComponentSet<T = any> {
obj: T;
private _config;
private _template;
private _styles;
constructor(obj: T, source: {
template?: string;
styles?: (string[]) | string;
}, config?: ComponentSetConfig);
get template(): string;
get styles(): string | string[];
get config(): ComponentSetConfig;
setTemplateStyle(set: {
template?: string;
styles?: string | (string[]);
}): void;
}
//# sourceMappingURL=ComponentSet.d.ts.map