Animation Effects
Animation Effects
Add elegant animation effects to streaming rendered content, supporting progressive text display to enhance user reading experience.
| Parameter | Description | Type | Default Value |
|---|---|---|---|
| hasNextChunk | Whether there is subsequent data | boolean | false |
| enableAnimation | Enable text fade-in animation | boolean | false |
| animationConfig | Text animation configuration | AnimationConfig | { fadeDuration: 200, easing: 'ease-in-out' } |
| Property | Description | Type | Default Value |
|---|---|---|---|
| fadeDuration | Fade-in animation duration (milliseconds) | number | 200 |
| easing | Animation easing function | string | 'ease-in-out' |
A: Please check the following conditions:
enableAnimation set to truehasNextChunk properly controlledA: Recommended optimizations:
fadeDuration timelinear easing function