UNPKG

@empathyco/x-components

Version:
23 lines (14 loc) 924 B
<!-- 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) ## 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. |