class Reactive · Animation
RvgTextOptions
Options for string (text) animations.
Text animations progressively construct the target string over time, optionally tearing down the current string first.
Properties
durationModeoptional
durationMode?: RvgTextDurationModeDetermines how the duration parameter is interpreted.
easingoptional
easing?: (t: number) => numberEasing function applied to the overall text construction progress. When null, linear
interpolation is used.
onCompleteoptional
onComplete?: () => voidCallback invoked once when the text animation completes.
skipWhitespaceoptional
skipWhitespace?: booleanWhen true, whitespace characters do not consume their own animation step. They are revealed
together with the next visible character, eliminating visual pauses on spaces and line
breaks.
Defaults to false to preserve backward compatibility.
