Reference·JavaScript · @bimworks/viewercommonJavaScript

html

Function in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Function

TypeScript#
function html

Members#

Member Kind Description
html Method Tagged literal for HTML. Interpolated values become text or attribute values, never markup. Values bound to href, src, xlink:href, action, formaction and pos…

html#

TypeScript#
html(strings: TemplateStringsArray, ...values: (unknown)[]): TemplateResult

Tagged literal for HTML. Interpolated values become text or attribute values, never markup. Values bound to href, src, xlink:href, action, formaction and poster keep only http(s), blob, mailto, tel, data:image and relative URLs. The static markup may not contain on… or srcdoc attributes, property bindings (.name=${…}), or script, style, iframe, object, embed, base, meta, link and SMIL animation elements: use data-action for interaction.

Parameters#

Name Type Description
strings TemplateStringsArray
values (unknown)[]