Skip to content

Commit ce7c472

Browse files
committed
Hard-wrap comments in svelte/motion
1 parent aa0125c commit ce7c472

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/svelte/src/motion/spring.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ function tick_spring(ctx, last_value, current_value, target_value) {
4848
}
4949

5050
/**
51-
* The spring function in Svelte creates a store whose value is animated, with a motion that simulates the behavior of a spring. This means when the value changes, instead of transitioning at a steady rate, it "bounces" like a spring would, depending on the physics parameters provided. This adds a level of realism to the transitions and can enhance the user experience.
51+
* The spring function in Svelte creates a store whose value is animated, with a
52+
* motion that simulates the behavior of a spring. This means when the value
53+
* changes, instead of transitioning at a steady rate, it "bounces" like a
54+
* spring would, depending on the physics parameters provided. This adds a level
55+
* of realism to the transitions and can enhance the user experience.
5256
*
5357
* https://svelte.dev/docs/svelte-motion#spring
5458
* @template [T=any]

packages/svelte/src/motion/tweened.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ function get_interpolator(a, b) {
7171
}
7272

7373
/**
74-
* A tweened store in Svelte is a special type of store that provides smooth transitions between state values over time.
74+
* A tweened store in Svelte is a special type of store that provides smooth
75+
* transitions between state values over time.
7576
*
7677
* https://svelte.dev/docs/svelte-motion#tweened
7778
* @template T

0 commit comments

Comments
 (0)