class Reactive · Animation
RvgTraceOptions
Options for Animate.shape.trace: which part of the route is visible at the start and at the
end.
Both are intervals [start, end] of ratios of the route length (0 = its first point, 1 = its
last). In between, the visible part moves linearly (eased in time): from: [0, 0], to: [0, 1]
draws the route from its start (the default); from: [1, 1] from its end; from: [0.5, 0.5]
from the middle in both directions; from: [0, 1], to: [1, 1] erases it towards the end; from: [0, 0.2], to: [0.8, 1] runs a fifth of it along the route.
Properties
easingoptional
easing?: (t: number) => numberThe easing in time (default: ease in and out).
fromoptional
from?: number[]The visible interval at the start, [start, end] (default [0, 0]).
onCompleteoptional
onComplete?: () => voidCallback invoked once when the animation reaches its end.
tooptional
to?: number[]The visible interval at the end, [start, end] (default [0, 1]).
