Skip to content

Commit d7b331f

Browse files
committed
add links to inline docs
1 parent 1a6b8f3 commit d7b331f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte/src/motion/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export * from './spring.js';
44
export * from './tweened.js';
55

66
/**
7-
* A media query that matches if the user has requested reduced motion.
7+
* A [media query](https://svelte.dev/docs/svelte/svelte-reactivity#MediaQuery) that matches if the user [prefers reduced motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion).
88
* @type {MediaQuery}
99
*/
1010
export const prefersReducedMotion = /*@__PURE__*/ new MediaQuery(

packages/svelte/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ declare module 'svelte/motion' {
16781678
interpolate?: (a: T, b: T) => (t: number) => T;
16791679
}
16801680
/**
1681-
* A media query that matches if the user has requested reduced motion.
1681+
* A [media query](https://svelte.dev/docs/svelte/svelte-reactivity#MediaQuery) that matches if the user [prefers reduced motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion).
16821682
* */
16831683
export const prefersReducedMotion: MediaQuery;
16841684
/**

0 commit comments

Comments
 (0)