---
id: fast-element.controller.template
title: Controller.template property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [Controller](./fast-element.controller.md) &gt; [template](./fast-element.controller.template.md)

## Controller.template property

Gets/sets the template used to render the component.

<b>Signature:</b>

```typescript
get template(): ElementViewTemplate | null;

set template(value: ElementViewTemplate | null);
```

## Remarks

This value can only be accurately read after connect but can be set at any time.
