Skip to main content

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

disableddefines whether a slider is disabled
idsets an HTML id for a slider
labelsets a label above the slider bar
maxsets the maximal value of the slider bar
minsets the minimal value of the slider bar
stepsets the jump between values of the slider bar
titlesets a tooltip text with additional info about the control
valuesets the value of a slider
widthsets the width of a slider bar