OverlayAnimationOptions
Options for animating an overlay along an edge
Properties
dwell?
optionaldwell:number
How long, in milliseconds, to dwell on the source before beginning to move. Defaults to 350ms.
events?
optionalevents:Record<string, (p) =>any>
Optional set of event listeners.
forwards?
optionalforwards:boolean
Defaults to true, meaning traverse from the source to the target.
loop?
optionalloop:boolean
If true, the animation will loop.
paused?
optionalpaused:boolean
If true, the animation starts in a paused state.
rate?
optionalrate:number
Time between frames. Defaults to 30ms.
speed?
optionalspeed:number
How fast to travel, in pixels per second. Defaults to 100.