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

New-UDSlider -Value 1

Slider with minimum and maximum values

New-UDSlider -Min 10 -Max 1000

Disabled Slider

New-UDSlider -Disabled

Slider with custom step size

New-UDSlider -Min 10 -Max 1000 -Step 100

Slider with marks

New-UDSlider -Marks

Range based slider

New-UDSlider -Value @(1, 10)

OnChange event for slider

New-UDSlider -OnChange {
Show-UDToast -Message $Body
Set-TestData $Body
}

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