Skip to main content

@microsoft/fast-element > ViewTemplate > create

ViewTemplate.create() method

Creates an HTMLView instance based on this template definition.

Signature:
create(hostBindingTarget?: Element): HTMLView;

Parameters

ParameterTypeDescription
hostBindingTargetElementThe element that host behaviors will be bound to.
Returns:

HTMLView