PDA

View Full Version : How to customize slider's thumb



Podlipensky
14 Mar 2012, 11:45 AM
I'd like to customize slider's thumb look and speed, what is the most easiest way to do so?

mitchellsimoens
14 Mar 2012, 12:40 PM
The look of it would be CSS and SASS. The speed you can change with the thumbConfig on the slider. Here is the default one:


thumbConfig: {
draggable: {
translatable: {
easingX: {
duration: 300,
type: 'ease-out'
}
}
}
},

Podlipensky
14 Mar 2012, 12:57 PM
Is there any documentation on this part of config?

mitchellsimoens
14 Mar 2012, 1:03 PM
http://docs.sencha.com/touch/2-0/#!/api/Ext.slider.Slider-cfg-thumbConfig

Podlipensky
14 Mar 2012, 1:08 PM
Thanks!