You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/svelte/src/runtime/internal/lifecycle.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ export function beforeUpdate(fn) {
32
32
*
33
33
* If a function is returned _synchronously_ from `onMount`, it will be called when the component is unmounted.
34
34
*
35
-
* `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).
35
+
* `onMount` does not run inside a [server-side component](https://svelte.dev/docs#run-time-server-side-component-api).
36
36
*
37
37
* https://svelte.dev/docs/svelte#onmount
38
38
* @template T
@@ -71,7 +71,7 @@ export function onDestroy(fn) {
71
71
}
72
72
73
73
/**
74
-
* Creates an event dispatcher that can be used to dispatch [component events](/docs#template-syntax-component-directives-on-eventname).
74
+
* Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs#template-syntax-component-directives-on-eventname).
75
75
* Event dispatchers are functions that can take two arguments: `name` and `detail`.
76
76
*
77
77
* Component events created with `createEventDispatcher` create a
* The `crossfade` function creates a pair of [transitions](/docs#template-syntax-element-directives-transition-fn) called `send` and `receive`. When an element is 'sent', it looks for a corresponding element being 'received', and generates a transition that transforms the element to its counterpart's position and fades it out. When an element is 'received', the reverse happens. If there is no counterpart, the `fallback` transition is used.
182
+
* The `crossfade` function creates a pair of [transitions](https://svelte.dev/docs#template-syntax-element-directives-transition-fn) called `send` and `receive`. When an element is 'sent', it looks for a corresponding element being 'received', and generates a transition that transforms the element to its counterpart's position and fades it out. When an element is 'received', the reverse happens. If there is no counterpart, the `fallback` transition is used.
Copy file name to clipboardExpand all lines: packages/svelte/types/index.d.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,7 @@ declare module 'svelte' {
189
189
*
190
190
* If a function is returned _synchronously_ from `onMount`, it will be called when the component is unmounted.
191
191
*
192
-
* `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).
192
+
* `onMount` does not run inside a [server-side component](https://svelte.dev/docs#run-time-server-side-component-api).
193
193
*
194
194
* https://svelte.dev/docs/svelte#onmount
195
195
* */
@@ -212,7 +212,7 @@ declare module 'svelte' {
212
212
* */
213
213
exportfunctiononDestroy(fn: ()=>any): void;
214
214
/**
215
-
* Creates an event dispatcher that can be used to dispatch [component events](/docs#template-syntax-component-directives-on-eventname).
215
+
* Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs#template-syntax-component-directives-on-eventname).
216
216
* Event dispatchers are functions that can take two arguments: `name` and `detail`.
217
217
*
218
218
* Component events created with `createEventDispatcher` create a
* The `crossfade` function creates a pair of [transitions](/docs#template-syntax-element-directives-transition-fn) called `send` and `receive`. When an element is 'sent', it looks for a corresponding element being 'received', and generates a transition that transforms the element to its counterpart's position and fades it out. When an element is 'received', the reverse happens. If there is no counterpart, the `fallback` transition is used.
1792
+
* The `crossfade` function creates a pair of [transitions](https://svelte.dev/docs#template-syntax-element-directives-transition-fn) called `send` and `receive`. When an element is 'sent', it looks for a corresponding element being 'received', and generates a transition that transforms the element to its counterpart's position and fades it out. When an element is 'received', the reverse happens. If there is no counterpart, the `fallback` transition is used.
0 commit comments