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/js/samples/ssr-no-oncreate-etc/input.html

25 lines
359 B

<script context="module">
export function preload(input) {
return output;
}
</script>
<script>
import { onDestroy, onMount } from 'svelte';
onMount(() => {
console.log('onMount');
});
onDestroy(() => {
console.log('onDestroy');
});
function foo() {
console.log('foo');
}
function swipe(node, callback) {
// TODO implement
}
</script>