Help prepare for 2025 → Answer 8 simple questions on our Fall Survey
Open Survey
Slider
Represents a slider component.

Summary

Constructors

constructor

Properties

accessibilityDecrementEvent
accessibilityIncrementEvent
accessibilityStep
android
ios
maxValue
minValue
value
152 properties inherited from View
Click to expand

Constructors

constructor

new Slider(): Slider

Properties

accessibilityStep

accessibilityStep: number
Increase/Decrease step size for iOS Increment-/Decrement events

android

android: any
Gets the native [android widget](http://developer.android.com/reference/android/widget/SeekBar.html) that represents the user interface for this component. Valid only when running on Android OS.

ios

ios: any
Gets the native iOS [UISlider](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISlider_Class/) that represents the user interface for this component. Valid only when running on iOS.

maxValue

maxValue: number
Gets or sets a slider max value. The default value is 100.

minValue

minValue: number
Gets or sets a slider min value. The default value is 0.

value

value: number
Gets or sets a slider current value. The default value is 0.

accessibilityDecrementEvent

StaticReadonly
accessibilityDecrementEvent: "accessibilityDecrement" = 'accessibilityDecrement'

accessibilityIncrementEvent

StaticReadonly
accessibilityIncrementEvent: "accessibilityIncrement" = 'accessibilityIncrement'
Next
Span