Home / Function/ backInOut() — svelte Function Reference

backInOut() — svelte Function Reference

Architecture documentation for the backInOut() function in index.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  32b95f3a_270e_fc93_c7f2_fa2bc68f4982["backInOut()"]
  8d8f0ca3_5d92_5886_ea4e_cf91e157cffe["index.js"]
  32b95f3a_270e_fc93_c7f2_fa2bc68f4982 -->|defined in| 8d8f0ca3_5d92_5886_ea4e_cf91e157cffe
  style 32b95f3a_270e_fc93_c7f2_fa2bc68f4982 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/easing/index.js lines 18–22

export function backInOut(t) {
	const s = 1.70158 * 1.525;
	if ((t *= 2) < 1) return 0.5 * (t * t * ((s + 1) * t - s));
	return 0.5 * ((t -= 2) * t * ((s + 1) * t + s) + 2);
}

Subdomains

Frequently Asked Questions

What does backInOut() do?
backInOut() is a function in the svelte codebase, defined in packages/svelte/src/easing/index.js.
Where is backInOut() defined?
backInOut() is defined in packages/svelte/src/easing/index.js at line 18.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free