@microsoft/fast-element > HTMLTemplateCompilationResult > createView
HTMLTemplateCompilationResult.createView() method
Creates a view instance.
Signature:
createView(hostBindingTarget?: Element): HTMLView<TSource, TParent>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
hostBindingTarget |
Element |
(Optional) The host binding target for the view. |
Returns:
HTMLView<TSource, TParent>