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

## HTMLBindingDirective.targetAtContent() method

Makes this binding target the content of an element rather than a particular attribute or property.

<b>Signature:</b>

```typescript
targetAtContent(): void;
```
<b>Returns:</b>

void
