Skip to content

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 NameDescriptionTypeDefault Value
textText content to be displayedstring-
durationTotal duration of the typing effect (seconds)number5