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/bindings-before-oncreate/Two.html

15 lines
143 B

8 years ago
<script>
export default {
data() {
return {
bar: 1
};
},
computed: {
foo(bar) {
return bar * 2;
}
}
};
</script>