svelte/test/js/samples/window-binding-scroll/input.html

3 lines
51 B

<:Window bind:scrollY=y/>
<p>scrolled to {{y}}</p>