Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/motion-dom/src/animation/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ export interface SpringOptions extends DurationSpringOptions, VelocityOptions {
* Stiffness of the spring. Higher values will create more sudden movement.
* Set to `100` by default.
*
* @default 100
*
* @public
*/
stiffness?: number
Expand All @@ -285,6 +287,8 @@ export interface SpringOptions extends DurationSpringOptions, VelocityOptions {
* Strength of opposing force. If set to 0, spring will oscillate
* indefinitely. Set to `10` by default.
*
* @default 10
*
* @public
*/
damping?: number
Expand All @@ -293,6 +297,8 @@ export interface SpringOptions extends DurationSpringOptions, VelocityOptions {
* Mass of the moving object. Higher values will result in more lethargic
* movement. Set to `1` by default.
*
* @default 1
*
* @public
*/
mass?: number
Expand Down