@empathyco/x-components
Version:
Empathy X Components
19 lines (10 loc) • 542 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [TypingOptions](./x-components.typingoptions.md) > [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'