You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`wrapper`| no | string |`p`,`h2`,`div`, `strong`| HTML element tag that wraps the typing animation |`span`|
81
-
|`speed`| no | 1,2,..,99 | {type: "keyStrokeDelayInMs", value: number} |`45`, `{type: "keyStrokeDelayInMs", value: 100}`| Speed for the writing of the animation |`40`|
82
-
|`deletionSpeed`| no | 1,2,..,99 | {type: "keyStrokeDelayInMs", value: number} |`45`, `{type: "keyStrokeDelayInMs", value: 100}`| Speed for deleting of the animation |`speed`|
83
-
|`omitDeletionAnimation`| no | boolean |`false`, `true`| If true, deletions will be instant and without animation |`false`|
84
-
|`repeat`| no | number |`0`, `3`, `Infinity`| Amount of animation repetitions |`0`|
|`preRenderFirstString`| no | boolean |`false`, `true`| If true, the first string of your sequence will not be animated and initially (pre-)rendered |`true`|
87
-
|`className`| no | string |`custom-class-name`| HTML class name applied to the wrapper to style the text |`-`|
|`wrapper`| no | string |`p`,`h2`,`div`, `strong`| HTML element tag that wraps the typing animation |`span`|
81
+
|`speed`| no | 1,2,..,99 | {type: "keyStrokeDelayInMs", value: number} |`45`, `{type: "keyStrokeDelayInMs", value: 100}`| Speed for the writing of the animation |`40`|
82
+
|`deletionSpeed`| no | 1,2,..,99 | {type: "keyStrokeDelayInMs", value: number} |`45`, `{type: "keyStrokeDelayInMs", value: 100}`| Speed for deleting of the animation |`speed`|
83
+
|`omitDeletionAnimation`| no | boolean |`false`, `true`| If true, deletions will be instant and without animation |`false`|
84
+
|`repeat`| no | number |`0`, `3`, `Infinity`| Amount of animation repetitions |`0`|
|`preRenderFirstString`| no | boolean |`false`, `true`| If true, the first string of your sequence will not be animated and initially (pre-)rendered |`true`|
87
+
|`className`| no | string |`custom-class-name`| HTML class name applied to the wrapper to style the text |`-`|
|`ref`| no | HTMLElement | null |`-`|`-`|`-`|
90
+
|`splitter`| no | (text: string) => Array<string> |`(str) => new GraphemeSplitter().splitGraphemes(str)`| Used for splitting complex characters, see [grapheme-splitter](https://github.com/orling/grapheme-splitter) for more details |`String.split('')`|
0 commit comments