UNPKG

@empathyco/x-components

Version:
97 lines (43 loc) 1.22 kB
<!-- 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 <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [speed?](./x-components.typingoptions.speed.md) </td><td> </td><td> number </td><td> _(Optional)_ The typing speed in milliseconds per character. </td></tr> <tr><td> [targetAttr?](./x-components.typingoptions.targetattr.md) </td><td> </td><td> string </td><td> _(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). </td></tr> <tr><td> [text](./x-components.typingoptions.text.md) </td><td> </td><td> string </td><td> The text (plain or html) that will be typed into the target element. </td></tr> </tbody></table>