---
id: fast-element.repeatdirective._constructor_
title: RepeatDirective.(constructor)
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [RepeatDirective](./fast-element.repeatdirective.md) &gt; [(constructor)](./fast-element.repeatdirective._constructor_.md)

## RepeatDirective.(constructor)

Creates an instance of RepeatDirective.

<b>Signature:</b>

```typescript
constructor(itemsBinding: Binding, templateBinding: Binding<TSource, SyntheticViewTemplate>, options: RepeatOptions);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  itemsBinding | [Binding](./fast-element.binding.md) | The binding that provides the array to render. |
|  templateBinding | [Binding](./fast-element.binding.md)<!-- -->&lt;TSource, [SyntheticViewTemplate](./fast-element.syntheticviewtemplate.md)<!-- -->&gt; | The template binding used to obtain a template to render for each item in the array. |
|  options | [RepeatOptions](./fast-element.repeatoptions.md) | Options used to turn on special repeat features. |
