Skip to main content
Version: 2.x

ElementViewTemplate.create() method

@microsoft/fast-element > ElementViewTemplate > create

ElementViewTemplate.create() method

Creates an ElementView instance based on this template definition.

Signature:

create(hostBindingTarget: Element): ElementView<TSource, TParent>;

Parameters

Parameter

Type

Description

hostBindingTarget

Element

The element that host behaviors will be bound to.

Returns:

ElementView<TSource, TParent>