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

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

## RepeatBehavior.(constructor)

Creates an instance of RepeatBehavior.

<b>Signature:</b>

```typescript
constructor(location: Node, itemsBinding: Binding<TSource, any[]>, isItemsBindingVolatile: boolean, templateBinding: Binding<TSource, SyntheticViewTemplate>, isTemplateBindingVolatile: boolean, options: RepeatOptions);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  location | Node | The location in the DOM to render the repeat. |
|  itemsBinding | [Binding](./fast-element.binding.md)<!-- -->&lt;TSource, any\[\]&gt; | The array to render. |
|  isItemsBindingVolatile | boolean | Indicates whether the items binding has volatile dependencies. |
|  templateBinding | [Binding](./fast-element.binding.md)<!-- -->&lt;TSource, [SyntheticViewTemplate](./fast-element.syntheticviewtemplate.md)<!-- -->&gt; | The template to render for each item. |
|  isTemplateBindingVolatile | boolean | Indicates whether the template binding has volatile dependencies. |
|  options | [RepeatOptions](./fast-element.repeatoptions.md) | Options used to turn on special repeat features. |
