createEaseInElastic
function createEaseInElastic(s?): TimingFunction;
Function: createEaseInElastic()
function createEaseInElastic(s?): TimingFunction;Defined in: packages/motion/src/Timing.ts:206
Build an Elastic easing with a custom oscillation frequency.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
s | number | 2.094395 | Angular frequency; higher oscillates more times. |
Returns
A TimingFunction to pass to any animator.
Remarks
Elastic curves overshoot and ring like a plucked string before settling. Prefer easeInElastic / easeOutElastic / easeInOutElastic unless you want a different wobble rate.
Default Value
2.094395 (2π/3)