SliderComponent
Represents the Kendo UI Slider component for Angular.
<kendo-slider [min]="0" [max]="10" [smallStep]="1" [(ngModel)]="value"></kendo-slider>
Selector
kendo-slider
Export Name
Accessible in templates as #kendoSliderInstance="kendoSlider"
Inputs
Name | Type | Default | Description |
---|---|---|---|
animate |
|
|
Determines if the component animates when the value changes. The component does not animate during initial rendering. |
decrementTitle |
|
Sets the title of the Decrease button of the Slider (see example). | |
disabled |
|
|
When |
dragHandleTitle |
|
Changes the | |
fixedTickWidth |
|
Sets the width between two ticks along the track, in pixels.
If you do not set | |
incrementTitle |
|
Sets the title of the Increase button of the Slider (see example). | |
largeStep |
|
|
Sets every nth tick as large and shows a label for it see example. |
max |
|
|
Sets the maximum value of the Slider. Accepts integers and floating-point numbers see example. |
min |
|
|
Sets the minimum value of the Slider. Accepts integers and floating-point numbers see example. |
readonly |
|
|
When |
showButtons |
|
|
Shows or hides the arrow side buttons of the Slider (see example).
When you set |
smallStep |
|
|
Sets the step value of the Slider. Accepts only positive values. Can be an integer or a floating-point number see example. |
tabindex |
|
|
Sets the |
tickPlacement |
|
|
Sets the location of the tick marks in the Slider see example. The options are:
|
title |
|
Sets the title for the ticks. The default title for each tick is its Slider value. If you use a callback function, the function receives the component value and returns a string for the new title see example. | |
value |
|
|
Sets the current value of the Slider when it first appears.
Use either |
vertical |
|
|
When |
Events
Name | Type | Description |
---|---|---|
blur |
|
Fires when the component is blurred. |
focus |
|
Fires when the user focuses the component. |
valueChange |
|
Fires when the user selects a new value. |
Methods
blur |
---|
Blurs the Slider. |
focus |
---|
Focuses the Slider. |