How to change shortcuts on KendoUI Slider ticks?

I am using the KendoUi slider. I use the following settings:

jQuery(document).ready(function () { jQuery("#slider").kendoSlider({ increaseButtonTitle: "Right", decreaseButtonTitle: "Left", showButtons: false, min: 1, max: 4, smallStep: .2, largeStep: 1, value: <%= TotalScore %>, tooltip: { enabled:false } }); 

I have four big steps, and I want to mark each one of them "P" "O" "G" "I" instead of numbers. How can i do this?

+6
source share
1 answer

I could not find anything in the settings that would allow this to be done. So, I just created a quick slider modifier:

http://jsfiddle.net/latenightcoder/QwGUy/1/

+11
source

Source: https://habr.com/ru/post/911699/


All Articles