Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge docs-feedback-feb2-1911 into production #1917

Merged
merged 6 commits into from
Feb 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions components/slider/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,17 @@ The Slider provides various parameters that allow you to configure the component

| Parameter | Type | Description |
| ----------- | ----------- | -------|
| `Decimals` | `int` | Specifies the number precision for the steps.
| `Enabled` | `bool` | whether the component is enabled.
| `LabelTemplate` | `RenderFragment<TValue>` | lets you render your own custom labels for the major ticks.
| `LargeStep` | `TValue` | defines where the larger (longer) ticks lie - they are rendered on every n-th occurrence of the `LargeStep`. Required. read more in ...
| `Max` | `TValue` | the maximum value on the slider. Required.
| `Min` | `TValue` | the minimum value on the slider. Required. Must be lower than the `Max`.
| `SmallStep` | `TValue` | defines the step through which the slider `Value` is changed when the user drags the handle. Also defines where small ticks appear on the track to indicate a value that can be selected. Required.
| `Orientation` | `SliderOrientation` <br/> (`Horizontal`) | whether the slider will be horizontal (the default) or vertical.
| `TickPosition` | `SliderTickPosition` <br/> (`Both`) | controls the position of the ticks.
| `ShowButtons` | `bool` | whether there will be increase and decrease buttons at the ends of the slider. Defaults to `true`.
|`Value` and `bind-Value`| `TValue` | the value of the slider. Can be a numerical type (such as `int`, `decimal`, `double` and so on). When the user moves the drag handle of the slider, it changes with the `SmallStep`, but you can set a value programmatically that will land the handle between the ticks and between those steps.
| `Decimals` | `int` | The number precision for the steps.
| `Enabled` | `bool` | Sets if the component accepts user interaction.
| `LabelTemplate` | `RenderFragment<TValue>` | A container for custom labels for the major ticks.
| `LargeStep` | `TValue` | The numeric interval between the large ticks. Read more in [Slider Steps]({%slug slider-steps%}).
| `Max` | `TValue` | The maximum value of the Slider. Required.
| `Min` | `TValue` | The minimum value on the Slider. Required and must be less than `Max`.
| `SmallStep` | `TValue` | The numeric interval between all selectable Slider values. The parameter also defines where small ticks appear on the track. The Slider `Value` may be between two small ticks, but such a value can only be set programmatically. Read more in [Slider Steps]({%slug slider-steps%}).
| `Orientation` | `SliderOrientation` <br/> (`Horizontal`) | Defines whether the Slider is horizontal or vertical.
| `TickPosition` | `SliderTickPosition` <br/> (`Both`) | Sets which side of the Slider shows ticks.
| `ShowButtons` | `bool` <br /> (`true`) | Sets if the Slider renders buttons to increase and decrease the `Value`.
| `Value` | `TValue` | The Slider value. Can be a numerical type (such as `int`, `decimal`, `double` and so on).

### Styling and Appearance

Expand Down
Loading