<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [TypingOptions](./x-components.typingoptions.md) &gt; [targetAttr](./x-components.typingoptions.targetattr.md)

## TypingOptions.targetAttr property

The attribute of the HTML element where the typed text will be placed. If not specified, the text will be set as content (innerHTML).

**Signature:**

```typescript
targetAttr?: string;
```

## Example

'placeholder'

