@microsoft/fast-element > ElementViewTemplate
ElementViewTemplate interface
A template capable of creating views specifically for rendering custom elements.
Signature:export interface ElementViewTemplate
Methods
Method | Description |
---|---|
create(hostBindingTarget) | Creates an ElementView instance based on this template definition. |
render(source, host, hostBindingTarget) | Creates an HTMLView from this template, binds it to the source, and then appends it to the host. |