Home / Type/ SpringUpdateOpts Type — svelte Architecture

SpringUpdateOpts Type — svelte Architecture

Architecture documentation for the SpringUpdateOpts type/interface in private.d.ts from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  c1fb9393_a760_326b_6ca4_400af97e09d3["SpringUpdateOpts"]
  a01c1df0_7696_2ad4_4755_4ce38ca5c71a["private.d.ts"]
  c1fb9393_a760_326b_6ca4_400af97e09d3 -->|defined in| a01c1df0_7696_2ad4_4755_4ce38ca5c71a
  style c1fb9393_a760_326b_6ca4_400af97e09d3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/motion/private.d.ts lines 18–35

export interface SpringUpdateOpts {
	/**
	 * @deprecated Only use this for the spring store; does nothing when set on the Spring class
	 */
	hard?: any;
	/**
	 * @deprecated Only use this for the spring store; does nothing when set on the Spring class
	 */
	soft?: string | number | boolean;
	/**
	 * Only use this for the Spring class; does nothing when set on the spring store
	 */
	instant?: boolean;
	/**
	 * Only use this for the Spring class; does nothing when set on the spring store
	 */
	preserveMomentum?: number;
}

Frequently Asked Questions

What is the SpringUpdateOpts type?
SpringUpdateOpts is a type/interface in the svelte codebase, defined in packages/svelte/src/motion/private.d.ts.
Where is SpringUpdateOpts defined?
SpringUpdateOpts is defined in packages/svelte/src/motion/private.d.ts at line 18.

Analyze Your Own Codebase

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

Try Supermodel Free