New to Kendo UI for AngularStart a free 30-day trial

RangeSliderComponent

Represents the Kendo UI RangeSlider component for Angular. Use this component to let users select a range of values.

html
<kendo-rangeslider [value]="[10, 50]" [min]="0" [max]="100"></kendo-rangeslider>

Selector

kendo-rangeslider

Export Name

Accessible in templates as #kendoRangeSliderInstance="kendoRangeSlider"

Inputs

NameTypeDefaultDescription

disabled

boolean

false

When true, disables the Slider. To disable the component in reactive forms, see Forms Support see example.

fixedTickWidth

number

Sets the width between two ticks along the track, in pixels. If you do not set fixedTickWidth, the Slider adjusts the tick width automatically see example.

largeStep

number

null

Sets every nth tick as large and shows a label for it see example.

max

number

10

Sets the maximum value of the Slider. Accepts integers and floating-point numbers see example.

min

number

0

Sets the minimum value of the Slider. Accepts integers and floating-point numbers see example.

readonly

boolean

false

When true, sets the Slider to read-only see example.

smallStep

number

1

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

tabindex

number

0

Sets the tabindex of the Slider.

tickPlacement

string

'both'

Sets the location of the tick marks in the Slider see example.

The options are:

  • before – Shows tick marks above a horizontal track or left of a vertical track.
  • after – Shows tick marks below a horizontal track or right of a vertical track.
  • both – Shows tick marks on both sides of the track.
  • none – Hides tick marks and removes them from the DOM.

title

SliderTickTitleCallback

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

RangeSliderValue

Sets the range value of the RangeSlider. Use either ngModel or the value binding, but not both at the same time.

vertical

boolean

false

When true. renders a vertical Slider see example.

Events

NameTypeDescription

blur

EventEmitter<any>

Fires when the component is blurred.

focus

EventEmitter<any>

Fires when the user focuses the component.

valueChange

EventEmitter<any>

Fires when the user selects a new value.

Methods

blur

Removes focus from the RangeSlider.

focus

Focuses the RangeSlider.

In this article
SelectorExport NameInputsEventsMethods
Not finding the help you need?
Contact Support