mirror of https://github.com/sveltejs/svelte
13 lines
146 B
13 lines
146 B
7 years ago
|
<p>{foo}</p>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
tag: 'custom-element',
|
||
|
|
||
|
methods: {
|
||
|
updateFoo(value) {
|
||
|
this.foo = value;
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
</script>
|