---
id: fast-element.repeatbehavior.bind
title: RepeatBehavior.bind() method
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; [bind](./fast-element.repeatbehavior.bind.md)

## RepeatBehavior.bind() method

Bind this behavior to the source.

<b>Signature:</b>

```typescript
bind(source: TSource, context: ExecutionContext): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  source | TSource | The source to bind to. |
|  context | [ExecutionContext](./fast-element.executioncontext.md) | The execution context that the binding is operating within. |

<b>Returns:</b>

void
