AlpineTypewriterConfig<T>
TYPE DEFINITION
The configuration for the typewriter Alpine.js component.
It has all properties the TypewriterConfig has from core, plus an optional alpine configuration object which allows you to set the name for the exposed Typewriter.
Since 1.4.0
Extends TypewriterConfig<T>Properties
-
alpine Optional
Additional alpine only configuration for the Typewriter.
Since 1.4.0
Object
name: stringThe method name you want to expose the Typewriter under.
Useful when having more than one typewriter animation on the page, so you can distinguish between them more easily.
Say for example you set it to "home": in the HTML you now use home().text.
Defaults to 'typewriter'.
Since 1.4.0