---
id: fast-element.htmlbindingdirective.targetname
title: HTMLBindingDirective.targetName property
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; [targetName](./fast-element.htmlbindingdirective.targetname.md)

## HTMLBindingDirective.targetName property

Gets/sets the name of the attribute or property that this binding is targeting.

<b>Signature:</b>

```typescript
get targetName(): string | undefined;

set targetName(value: string | undefined);
```