Installation
templui add slider
Load the script once in your layout:
<head>
@slider.Script()
</head>
Examples
Value
Steps
Disabled
External Value
External value (linked to the slider):
%
Range
API Reference
Required parameter
Hover for description
Slider
Single-thumb slider component.
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
Range
Dual-thumb range slider. Value displays use the slider ID with a -min or -max suffix.
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
Value
Displays the current slider value. For range sliders use {sliderID}-min or {sliderID}-max as the For value.
| Name | Type | Default |
|---|---|---|
| | |
| | |
| | |
| | |