All Components

SliderComponent

Represents the Kendo UI Slider component for Angular.

Selector

kendo-slider

Export Name

Accessible in templates as #kendoSliderInstance="kendoSlider"

Inputs

decrementTitle string

Sets the title of the Decrease button of the Slider (see example).

disabled boolean

Determines whether the Slider is disabled (see example).

dragHandleTitle string

Changes the title attribute of the drag handle so that it can be localized.

fixedTickWidth number

Sets the width between each two ticks along the track (see example). The value
has to be set in pixels. If no fixedTickWidth is provided, the Slider automatically adjusts the tick width to
accommodate the elements within the size of the component.

incrementTitle string

Sets the title of the Increase button of the Slider (see example).

largeStep number

Specifies that every nth tick will be large and will have a label
(see example).
Accepts positive integer values only.

max number

The maximum value of the Slider (see example).
The attribute accepts both integers and floating-point numbers.

min number

The minimum value of the Slider (see example).
The attribute accepts both integers and floating-point numbers.

readonly boolean

Determines whether the Slider is in its read-only state (see example).

showButtons boolean

Renders the arrow side buttons of the Slider (see example).
When showButtons is set to false, the buttons are not displayed.

smallStep number

The step value of the Slider (see example).
Accepts positive values only. Can be an integer or a floating-point number.

tabindex number

Specifies the tabindex of the Slider.

tickPlacement string

Denotes the location of the tick marks in the Slider (see example).

The available options are:

  • before—The tick marks are located to the top side of the horizontal track or to the left side of a vertical track.
  • after—The tick marks are located to the bottom side of the horizontal track or to the right side of the vertical track.
  • both—The tick marks are located on both sides of the track.
  • none—The tick marks are not visible. The actual elements are not added to the DOM tree.

title (value: number) => string

Defines the title of the ticks (see example). The default title
for each tick is its Slider value. If you use a callback function, the function accepts an argument
that holds the value of the component and returns a string with the new title.

value number

The current value of the Slider when it is initially displayed.
The component can use either NgModel or the value binding but not both of them at the same time.

vertical boolean

If vertical is set to true, the orientation of the Slider changes from horizontal to vertical
(see example).

Events

blur EventEmitter

Fires each time the input element gets blurred.

focus EventEmitter

Fires each time the user focuses the input element.

valueChange EventEmitter

Fires each time the user selects a new value.

Methods

blur

Blurs the Slider.

focus

Focuses the Slider.

@Component({
selector: 'my-app',
template: `
 <button (click)="slider.focus()">Focus</button>
 <kendo-slider #slider></kendo-slider>
`
})
class AppComponent { }
In this article