Update to svelte 5
This commit is contained in:
1 parent
f936e4c0f2
commit
6d89c5ddd9
129 files changed
+2443
-2180
No files matched your search
@@ -1,11 +1,15 @@
|
||||
<script lang="ts">
|
||||
export let toggle = false;
|
||||
let {
|
||||
toggle = $bindable(false)
|
||||
}: {
|
||||
toggle?: boolean;
|
||||
} = $props();
|
||||
</script>
|
||||
|
||||
<button class="button small_button round"
|
||||
class:button_highlight={toggle}
|
||||
style="margin: 0;"
|
||||
on:click={() => toggle = !toggle}
|
||||
onclick={() => toggle = !toggle}
|
||||
>
|
||||
<i class="icon">help</i>
|
||||
</button>
|
||||
|
||||
Reference in new issue
Block a user