Skip to content

Commit d9dd76f

Browse files
committed
fix: typo in one of the demos
1 parent 45a381e commit d9dd76f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/routes/examples/positioning/code.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
2-
import { ALIGNMENT, SCROLL_BEHAVIOR, type VLRange, type VLSlotSignature } from '$lib';
3-
import { VirtualList } from 'svelte-virtVLRangeEvents';
2+
import { ALIGNMENT, SCROLL_BEHAVIOR, type VLRangeEvent, type VLSlotSignature } from '$lib';
3+
import { VirtualList } from 'svelte-virtuallists';
44
55
const myModel = $state(new Array(10000));
66
@@ -24,7 +24,7 @@
2424
// holds randomized sizes
2525
let randSizes: Array<number>;
2626
27-
function handleVisualRangeChange(event: VLRange) {
27+
function handleVisualRangeChange(event: VLRangeEvent) {
2828
start = event.start;
2929
end = event.end;
3030
}

0 commit comments

Comments
 (0)