Skip to content

Commit

Permalink
feat(@vtmn/svelte): add missing events on VtmnToggle (#1476)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlahey committed Dec 22, 2023
1 parent 65f17d1 commit 86fbef0
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,16 @@

<div class={componentClass}>
<div class="vtmn-toggle_switch">
<input type="checkbox" {id} {disabled} bind:checked bind:this={ref} />
<input
type="checkbox"
{id}
{disabled}
bind:checked
bind:this={ref}
{...$$restProps}
on:click
on:change
/>
<span aria-hidden="true" />
</div>
<label for={id}>
Expand Down

0 comments on commit 86fbef0

Please sign in to comment.