class Reactive · Animation
RvgAlongOptions
Options for Animate.pin.along: where on the route the pin starts and ends.
Ratios of the route length (0 = its first point, 1 = its last). With from > to the pin moves
backwards and faces backwards.
Properties
easingoptional
easing?: (t: number) => numberThe easing in time (default: ease in and out).
fromoptional
from?: numberThe start position (default 0).
onCompleteoptional
onComplete?: () => voidCallback invoked once when the pin has arrived.
tooptional
to?: numberThe end position (default 1).
