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-attribute/main.html

15 lines
199 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 class='{myHelper(y)}'></p>