Slider API Overview
Initialization
<script>
import { Slider } from "wx-svelte-core";
</script>
<!-- minimal configuration for initialization -->
<Slider />
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
Slider Properties
disabled | defines whether a slider is disabled |
id | sets an HTML id for a slider |
label | sets a label above the slider bar |
max | sets the maximal value of the slider bar |
min | sets the minimal value of the slider bar |
step | sets the jump between values of the slider bar |
title | sets a tooltip text with additional info about the control |
value | sets the value of a slider |
width | sets the width of a slider bar |
Slider Events
change | fires when a new value is selected in a Slider |