Slider
Slider component for Universal Dashboard.
Sliders allow users to make selections from a range of values.
Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.

Slider

1
New-UDSlider -Value 1
Copied!

Slider with minimum and maximum values

1
New-UDSlider -Min 10 -Max 1000
Copied!

Disabled Slider

1
New-UDSlider -Disabled
Copied!

Slider with custom step size

1
New-UDSlider -Min 10 -Max 1000 -Step 100
Copied!

Slider with marks

1
New-UDSlider -Marks
Copied!

Range based slider

1
New-UDSlider -Value @(1, 10)
Copied!

OnChange event for slider

1
New-UDSlider -OnChange {
2
Show-UDToast -Message $Body
3
Set-TestData $Body
4
}
Copied!
New-UDSlider
Name
Type
Description
Required
Id
string
false
Value
int[]
false
Minimum
int
false
Maximum
int
false
Disabled
switch
false
Marks
switch
false
OnChange
Endpoint
false
Orientation
string
false
Step
int
false
ValueLabelDisplay
string
false
Last modified 6mo ago