@empathyco/x-components
Version:
Empathy X Components
23 lines (14 loc) • 924 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)
## TypingOptions interface
TypingOptions interface.
**Signature:**
```typescript
export interface TypingOptions
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [speed?](./x-components.typingoptions.speed.md) | | number | _(Optional)_ The typing speed in milliseconds per character. |
| [targetAttr?](./x-components.typingoptions.targetattr.md) | | string | _(Optional)_ The attribute of the HTML element where the typed text will be placed. If not specified, the text will be set as content (innerHTML). |
| [text](./x-components.typingoptions.text.md) | | string | The text (plain or html) that will be typed into the target element. |