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/onstate-before-render/main.html

26 lines
311 B

{identity(42)}
<script>
import order from './order.js';
export default {
helpers: {
identity(x) {
order.push('render');
return x;
}
},
onstate() {
order.push('onstate');
},
onupdate() {
order.push('onupdate');
},
oncreate() {
order.push('oncreate');
}
};
</script>