Skip to content

Commit

Permalink
fix: typo in one of the demos
Browse files Browse the repository at this point in the history
  • Loading branch information
orefalo committed Oct 20, 2024
1 parent 45a381e commit d9dd76f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/examples/positioning/code.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { ALIGNMENT, SCROLL_BEHAVIOR, type VLRange, type VLSlotSignature } from '$lib';
import { VirtualList } from 'svelte-virtVLRangeEvents';
import { ALIGNMENT, SCROLL_BEHAVIOR, type VLRangeEvent, type VLSlotSignature } from '$lib';
import { VirtualList } from 'svelte-virtuallists';
const myModel = $state(new Array(10000));
Expand All @@ -24,7 +24,7 @@
// holds randomized sizes
let randSizes: Array<number>;
function handleVisualRangeChange(event: VLRange) {
function handleVisualRangeChange(event: VLRangeEvent) {
start = event.start;
end = event.end;
}
Expand Down

0 comments on commit d9dd76f

Please sign in to comment.