Type alias: BezierFunction
Ƭ BezierFunction: (x
: number
) => number
A function that describes the easing curve for the scroll animation. See easings.net for examples of easing functions.
Type declaration
▸ (x
): number
Parameters
Name | Type |
---|---|
x | number |
Returns
number