---
id: fast-element.targetedhtmldirective.createplaceholder
title: TargetedHTMLDirective.createPlaceholder property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [TargetedHTMLDirective](./fast-element.targetedhtmldirective.md) &gt; [createPlaceholder](./fast-element.targetedhtmldirective.createplaceholder.md)

## TargetedHTMLDirective.createPlaceholder property

Creates a placeholder string based on the directive's index within the template.

<b>Signature:</b>

```typescript
createPlaceholder: (index: number) => string;
```