svelte/test/js/samples/bind-width-height/input.html

3 lines
65 B

<div bind:offsetWidth=w bind:offsetHeight=h>
some content
</div>