---
id: fast-element.htmlbindingdirective.createbehavior
title: HTMLBindingDirective.createBehavior() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [HTMLBindingDirective](./fast-element.htmlbindingdirective.md) &gt; [createBehavior](./fast-element.htmlbindingdirective.createbehavior.md)

## HTMLBindingDirective.createBehavior() method

Creates the runtime BindingBehavior instance based on the configuration information stored in the BindingDirective.

<b>Signature:</b>

```typescript
createBehavior(target: Node): BindingBehavior;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  target | Node | The target node that the binding behavior should attach to. |

<b>Returns:</b>

[BindingBehavior](./fast-element.bindingbehavior.md)
