expoInOut() — svelte Function Reference
Architecture documentation for the expoInOut() function in index.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 497c6430_3088_6d5c_66b2_68b9f89e9798["expoInOut()"] 8d8f0ca3_5d92_5886_ea4e_cf91e157cffe["index.js"] 497c6430_3088_6d5c_66b2_68b9f89e9798 -->|defined in| 8d8f0ca3_5d92_5886_ea4e_cf91e157cffe style 497c6430_3088_6d5c_66b2_68b9f89e9798 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/easing/index.js lines 162–168
export function expoInOut(t) {
return t === 0.0 || t === 1.0
? t
: t < 0.5
? +0.5 * Math.pow(2.0, 20.0 * t - 10.0)
: -0.5 * Math.pow(2.0, 10.0 - t * 20.0) + 1.0;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does expoInOut() do?
expoInOut() is a function in the svelte codebase, defined in packages/svelte/src/easing/index.js.
Where is expoInOut() defined?
expoInOut() is defined in packages/svelte/src/easing/index.js at line 162.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free