A slider component.
min
max
value
step
1
dots
false
disabled
false
<Slider
min={0}
max={100}
step={1}
bind:value
/>
This example also uses the on:change
event instead of binding.
<Slider
min={0}
max={10}
dots
value={progress}
on:change={e => progress = e.detail}
/>