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/generator/attribute-dynamic-multiple/_config.js

12 lines
247 B

export default {
data: {
items: [
{ foo: true, bar: false },
{ foo: false, bar: true },
{ foo: true, bar: true }
]
},
html: `<div class="foo ">1</div><div class=" bar">2</div><div class="foo bar">3</div><!--#each items-->`
};