spz-typist
When to use
spz-typist displays text with a typewriter effect, typing out characters one by one.
Supported layout
containerlogic
Example
Basic usage
Dynamic text updates
Using child elements
You can also place content directly as child elements:
Attributes
Actions
setContent
Sets the content programmatically. This will clear all previous state and restart typing from the beginning.
Parameters:
content(string): The new content to display
Example:
Events
Status attributes
Behavior
- The component starts typing automatically when laid out.
- If the
contentattribute is updated, typing restarts from the beginning with the new content. - Supports nested child elements and SPZ elements (waits for SPZ elements to complete before typing their content).
- Auto-scrolls to keep the current typing line visible.
Notes
- This component does not expose a
setSpeedaction; to change speed dynamically, update thespeedattribute directly.