svelte/test/runtime/samples/class-shortcut/main.svelte

7 lines
118 B

<script>
export let foo;
export let bar;
export let unused;
</script>
<div class:foo class:bar class:unused></div>