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/await-component-oncreate/Foo.html

14 lines
172 B

<p>{{value}}</p>
<p>{{called}}</p>
<script>
export default {
data() {
return { called: false };
},
oncreate() {
this.set({ called: true });
}
};
</script>