The type of the template's params.
Creates a new template.
The content of the template, or a function that returns the content.
Readonly contentThe content of the template, or a function that returns the content.
Renders the template with the given params (if content is a function).
The params to pass to the template.
The rendered template as a RawContent instance.
Renders the template with the given params (if content is a function).
The params to pass to the template.
The rendered template.
Private stringifyReturns the HTML string representation of a child of the template.
Optional child: TagChild<any>The child to stringify.
The HTML string representation of the child.
Generated using TypeDoc
A template that can be used to render HTML content.