# Slider

(part of package '[Servoy Core](/reference/servoyextensions/packages/ui-component-packages/servoy-core.md)')\
Extends designtime/SolutionModel: [JSWebComponent](/reference/servoycore/dev-api/solutionmodel/jswebcomponent.md)\
Extends runtime: [RuntimeWebComponent](/reference/servoycore/dev-api/forms/runtimeform/elements/runtimewebcomponent.md)

Servoy Core Slider Component.\
A component for selecting a value or range of values using a draggable handle.

This is a reference page; many components have detailed usage guides [here](https://docs.servoy.com/guides/develop/application-design/ui-components).

## Properties

### animate

Determines if slider movements are animated. Type: [String](/reference/servoycore/dev-api/js-lib/string.md)

***

### dataProviderID

Specifies the data provider that holds the current slider value. Type: [Dataprovider](/reference/servoy-developer/component_and_service_property_types.md#dataprovider)

***

### enabled

Indicates whether the slider is enabled for user interaction. Type: [Enabled](/reference/servoy-developer/component_and_service_property_types.md#protected) Default Value: true

***

### max

Defines the upper limit of the slider. Type: [Long](/reference/servoycore/dev-api/js-lib/number.md) Default Value: 100

***

### min

Defines the lower limit of the slider. Type: [Long](/reference/servoycore/dev-api/js-lib/number.md) Default Value: 0

***

### orientation

Sets the slider orientation as either horizontal or vertical. Type: [String](/reference/servoycore/dev-api/js-lib/string.md) Default Value: "horizontal"

***

### range

Configures the slider to highlight either the minimum or maximum side. Type: [String](/reference/servoycore/dev-api/js-lib/string.md) Default Value: "min"

***

### step

Determines the step interval between selectable slider values. Type: [Long](/reference/servoycore/dev-api/js-lib/number.md) Default Value: 1

***

### visible

Controls the slider's visibility. Type: [Visible](/reference/servoy-developer/component_and_service_property_types.md#visible)

***

## Events

### onChangeMethodID

Called when the slider value changes.

***

### onCreateMethodID

Called when the slider is initialized.

***

### onSlideMethodID

Called repeatedly as the slider handle is dragged.

***

### onStartMethodID

Called when the slider handle drag operation starts.

***

### onStopMethodID

Called when the slider handle drag operation stops.

***

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.servoy.com/reference/servoyextensions/ui-components/form-containers/slider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
