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?: RvgTextDurationMode

Determines how the duration parameter is interpreted.

See RvgTextDurationMode

easingoptional

easing?: (t: number) => number

Easing function applied to the overall text construction progress. When null, linear interpolation is used.

onCompleteoptional

onComplete?: () => void

Callback invoked once when the text animation completes.

skipWhitespaceoptional

skipWhitespace?: boolean

When 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.