StepOptions
Options of a timeline step: a tween’s, and where it goes.
Extends
Section titled “Extends”Properties
Section titled “Properties”
optionalat?:Position
Where it starts (see Position); delay is added to it. Default: the end of the timeline so far.
optionalease?:Ease|"linear"|"quadIn"|"quadOut"|"quadInOut"|"cubicOut"|"sineInOut"|"backOut"|"elasticOut"|"bounceOut"
An EASE name (‘quadOut’ by default, ‘backOut’, ‘linear’, …) or a function of 0–1.
Inherited from
Section titled “Inherited from”delay?
Section titled “delay?”
optionaldelay?:number
Seconds before it starts; the start values are read then.
Inherited from
Section titled “Inherited from”onUpdate?
Section titled “onUpdate?”
optionalonUpdate?: (k) =>void
Called every step with the eased progress, 0–1.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void