@effectai/sdk
Version:
Effect Network Javscript/Typescript SDK (for [https://effect.network](https://effect.network))
19 lines (18 loc) • 480 B
TypeScript
export declare class Template {
html: string;
placeholders: {
[key: string]: string;
};
options: object;
info: object;
private rendered;
constructor(html: string, placeholders?: {}, options?: {}, info?: {});
render(): string;
static htmlEntities(str: string | number): string;
private replacePlaceholders;
private injectHTML;
private injectJSVar;
private injectJSFile;
private injectCSSFile;
private wrapForm;
}