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/ignore-unchanged-raw/main.svelte

15 lines
196 B

<script>
import counter from './counter.js';
export let x;
export let y;
function myHelper(value) {
counter.count += 1;
return value;
}
</script>
<p>{x}</p>
<p>{@html myHelper(y)}</p>