Skip to main content
Version: 2.x

ViewTemplate.html property

@microsoft/fast-element > ViewTemplate > html

ViewTemplate.html property

The html representing what this template will instantiate, including placeholders for directives.

Signature:

readonly html: string | HTMLTemplateElement;
td>

withPolicy(policy)

Sets the DOMPolicy for this template.