svelte/test/js/samples/do-use-dataset/input.svelte

6 lines
82 B

<script>
export let bar;
</script>
<div data-foo='bar'/>
<div data-foo='{bar}'/>