Reference
MoveSpringValueConfig
Stable API — covered by semantic-versioning guarantees.
Overview
Stable API — covered by semantic-versioning guarantees.
- Kind: Interface
- Stability:
stable
Declaration
interface MoveSpringValueConfig extends MoveSpring
Properties
| Name | Type | Description |
|---|---|---|
initial? |
number |
|
precision? |
number |
|
restSpeed? |
number |
|
disabled? |
boolean |
|
injector? |
Injector |
Injector to run the underlying effect in. Optional when moveSpringValue is called from a valid injection context — a field initializer, a constructor, or inside runInInjectionContext — the same convention toSignal/toObservable use: it is inferred automatically via inject(Injector). Pass this explicitly only when calling from outside one (e.g. a plain function invoked later, or a different injector than the surrounding context). |
stiffness? |
number |
|
damping? |
number |
|
mass? |
number |
|
velocity? |
number |