Skip to content

Commit

Permalink
expose wrapperRef for BarqodeStream
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Dec 11, 2024
1 parent af94ba3 commit 9981a30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/barqode/src/lib/components/barqode-stream.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
videoRef = $bindable(null),
pauseRef = $bindable(null),
trackingRef = $bindable(null),
wrapperRef = $bindable(null),
}: StreamProps = $props();
// state
Expand Down Expand Up @@ -190,7 +191,7 @@
});
</script>

<div class="wrapper">
<div class="wrapper" bind:this={wrapperRef}>
<video
bind:this={videoRef}
class="camera"
Expand Down

0 comments on commit 9981a30

Please sign in to comment.