---
id: fast-element.refbehavior
title: RefBehavior class
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [RefBehavior](./fast-element.refbehavior.md)

## RefBehavior class

The runtime behavior for template references.

<b>Signature:</b>

```typescript
export declare class RefBehavior implements Behavior 
```

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(target, propertyName)](./fast-element.refbehavior._constructor_.md) |  | Creates an instance of RefBehavior. |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [bind(source)](./fast-element.refbehavior.bind.md) |  | Bind this behavior to the source. |
|  [unbind()](./fast-element.refbehavior.unbind.md) |  | Unbinds this behavior from the source. |
