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/each-blocks-nested-b/_config.js

25 lines
708 B

export default {
get props() {
return {
categories: [
{
name: 'animals',
things: [{ name: 'aardvark' }, { name: 'buffalo' }, { name: 'chinchilla' }]
},
{
name: 'countries',
things: [{ name: 'albania' }, { name: 'brazil' }, { name: 'china' }]
},
{
name: 'people',
things: [{ name: 'alice' }, { name: 'bob' }, { name: 'carol' }, { name: 'dave' }]
}
]
};
},
html: '<p>animals: aardvark</p><p>animals: buffalo</p><p>animals: chinchilla</p><!----><p>countries: albania</p><p>countries: brazil</p><p>countries: china</p><!----><p>people: alice</p><p>people: bob</p><p>people: carol</p><p>people: dave</p><!----><!---->',
test() {
// TODO
}
};