apiref
tagged-hypertext@1.0.1

html()  Function

Use the html template tag to safely generate HTML. It returns a Hypertext object. You can use the toHtml method to get the HTML code. Interpolated values are escaped unless they are

Signature

export declare function html(strings: TemplateStringsArray, ...values: any[]): Hypertext;

Parameters

ParameterTypeDescription
stringsTemplateStringsArray
valuesany[]
(Returns)Hypertext