---
id: fast-element.viewtemplate.create
title: ViewTemplate.create() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [ViewTemplate](./fast-element.viewtemplate.md) &gt; [create](./fast-element.viewtemplate.create.md)

## ViewTemplate.create() method

Creates an HTMLView instance based on this template definition.

<b>Signature:</b>

```typescript
create(hostBindingTarget?: Element): HTMLView;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  hostBindingTarget | Element | The element that host behaviors will be bound to. |

<b>Returns:</b>

[HTMLView](./fast-element.htmlview.md)
