glideSteps
glideSteps(
tour,duration?): () =>void
Defined in: motion.ts:14
Glides each step’s dialog from where the previous one sat instead of cutting to its new position, on the same curve as the modal overlay’s opening.
It animates the translate property, which composes with whatever positions
the dialog, and does nothing under prefers-reduced-motion: reduce.
Parameters
Section titled “Parameters”The tour to animate.
duration?
Section titled “duration?”number = 420
Length of the glide in milliseconds.
Returns
Section titled “Returns”A function that stops gliding.
() => void