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

[@microsoft/fast-element](./fast-element.md) &gt; [Behavior](./fast-element.behavior.md)

## Behavior interface

Represents and object that can contribute behavior to a view or element's bind/unbind operations.

<b>Signature:</b>

```typescript
export interface Behavior 
```

## Methods

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