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

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

## RepeatDirective.createPlaceholder property

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

<b>Signature:</b>

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