Skip to content

Commit 70dc159

Browse files
authored
docs: use runes instead of old syntax in tutorial/custom-css-transitions (#682)
update the docs to use RUNES
1 parent 4c72b6c commit 70dc159

File tree

1 file changed

+1
-1
lines changed
  • apps/svelte.dev/content/tutorial/01-svelte/09-transitions/04-custom-css-transitions

1 file changed

+1
-1
lines changed

apps/svelte.dev/content/tutorial/01-svelte/09-transitions/04-custom-css-transitions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ We can get a lot more creative though. Let's make something truly gratuitous:
4848
import { fade } from 'svelte/transition';
4949
+++import { elasticOut } from 'svelte/easing';+++
5050
51-
let visible = true;
51+
let visible = $state(true);
5252
5353
function spin(node, { duration }) {
5454
return {

0 commit comments

Comments
 (0)