format: whole project
This commit is contained in:
1 parent
b883b5f6e0
commit
80269cf275
79 files changed
+590
-612
No files matched your search
@@ -1,20 +1,20 @@
|
||||
<script lang="ts">
|
||||
import { run } from 'svelte/legacy';
|
||||
import { run } from 'svelte/legacy'
|
||||
|
||||
import { expoOut } from 'svelte/easing'
|
||||
import { tweened } from 'svelte/motion'
|
||||
|
||||
interface Props {
|
||||
progress?: number;
|
||||
progress?: number
|
||||
}
|
||||
|
||||
let { progress = 0 }: Props = $props();
|
||||
let { progress = 0 }: Props = $props()
|
||||
|
||||
let tween = tweened(progress, { easing: expoOut })
|
||||
|
||||
run(() => {
|
||||
tween.set(progress)
|
||||
});
|
||||
})
|
||||
</script>
|
||||
|
||||
<div
|
||||
|
||||
Reference in new issue
Block a user