mirror of https://github.com/sveltejs/svelte
parent
cce3a30ef2
commit
b26ee1c3bb
@ -1,9 +1,14 @@
|
||||
<p>{(items || []).length} items</p>
|
||||
<p>{(items || []).join(', ')}</p>
|
||||
<p>{JSON.stringify(items)}</p>
|
||||
<p>{items.length} items</p>
|
||||
<p>{items.join(', ')}</p>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
tag: 'my-widget'
|
||||
tag: 'my-widget',
|
||||
|
||||
data() {
|
||||
return {
|
||||
items: []
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Reference in new issue