We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8814916 commit d4127baCopy full SHA for d4127ba
README.md
@@ -9,6 +9,8 @@ SvelteJS component for switch or toggle a boolean.The component is Svelte implem
9
10
[Click here for Storybook link](https://svelte-switch.netlify.app/)
11
12
+[REPL Link](https://svelte.dev/repl/72a37aee9ae24705b7d874def7e1f270)
13
+
14
## Installation
15
16
```
@@ -23,7 +25,7 @@ yarn add svelte-switch
23
25
24
26
27
<script>
- import Switch from "./../../src";
28
+ import Switch from "svelte-switch";
29
30
let checkedValue = true;
31
src/components/Switch.svelte
@@ -175,7 +175,6 @@
175
}
176
177
function onChangeTrigger(event) {
178
- // onChange && onChange(!checked, event, id);
179
checked = !checked;
180
dispatch("change", {
181
checked: checked,
0 commit comments