Tag Archive for 'thumbcount'

22
Aug

Using overlapping slider thumbs in the Flex Slider controls

I was playing around with the HSlider component tonight and was checking out the allowThumbOverlap property. The following example creates a horizontal slider with 2 slider thumbs and lets you toggle the allowThumbOverlap property with the showTrackHighlight property set to true.

Full code after the jump.

Continue reading ‘Using overlapping slider thumbs in the Flex Slider controls’

21
Aug

Highlighting a Slider control’s track using the showTrackHighlight style

Well, the title of the post pretty much says it all, but I just noticed this today. It seems that you can highlight the HSlider/VSlider track by setting the showTrackHighlight style to true. I made this really quick mini-app which lets you toggle the style on and off, as well as see the behavior of 1 slider thumb versus 2 slider thumbs.

Full code after the jump.

Continue reading ‘Highlighting a Slider control’s track using the showTrackHighlight style’

23
Jul

Formatting multiple data tips in a Slider

Some imaginary blog reader asks, “How do i change a Slider’s dataTip based on which Slider thumb is being dragged?”
I crafted up this sneaky code to listen for the thumbPress and thumbRelease events to log which slider is being… slid?

Full code after the jump.

Continue reading ‘Formatting multiple data tips in a Slider’