Interface TemplateEngineComponent
Methods
render
- render(template: string, context: any): Promise<string>
Parameters
template: string
context: any
Returns Promise<string>
renderFromString
- renderFromString(template: string, k: any): Promise<string>
Parameters
Returns Promise<string>
Renders the template string using the template engine and the given context.