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/css/samples/omit-scoping-attribute-attr.../input.svelte

14 lines
192 B

<script>
export let dynamic;
</script>
<div>
<p data-foo='{dynamic}'>this is styled</p>
<p data-foo='baz'>this is unstyled</p>
</div>
<style>
[data-foo='bar'] {
color: red;
}
</style>