Typing Text
The ol-typing-text
component provides a typewriter effect text animation display.
Basic Usage
Specify the text content to be displayed by setting the text
attribute, and control the typing speed using the duration
attribute (unit: seconds).
Attributes
Attribute Name | Description | Type | Default Value |
---|---|---|---|
text | Text content to be displayed | string | - |
duration | Total duration of the typing effect (seconds) | number | 5 |