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 6fe09e9 commit d89c953Copy full SHA for d89c953
src/Knob.svelte
@@ -1,4 +1,4 @@
1
-<div class="knob-control" style="{style}" bind:this={knob}>
+<div class:knob-control={true} class={_class} style={style} bind:this={knob}>
2
<svg width="{computedSize}" height="{computedSize}" viewBox="0 0 100 100"
3
on:click="{onClick}"
4
on:mousedown="{onMouseDown}"
@@ -74,6 +74,8 @@ export let textColor = '#000000';
74
export let strokeWidth = 17;
75
export let valueDisplayFunction = (v) => v;
76
77
+$: _class = $$restProps['class'];
78
+
79
onMount(async () => {
80
dashLength()
81
clearInterval(interval);
0 commit comments