You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/svg-with-style/main.svelte

15 lines
201 B

<script>
export let x;
</script>
<svg>
<circle cx=50 cy=50 r=50/>
<circle class='foo' cx=150 cy=50 r=50/>
<circle class='{x}' cx=250 cy=50 r=50/>
</svg>
<style>
circle {
fill: red;
}
</style>