2 May 2012 9:15 AM #1
I need to use Ext.slider.Slider for the events not provided in Ext.field.Slider (e.g. dragstart, dragend), and I noticed that Ext.slider.Slider wasn't available in the toolbox, only a Ext.field.Slider. For whatever it's worth I thought it odd that:
- the 'dragstart' and 'dragend' events weren't available in the sliderfield
- that the distinction between slider and slider field existed (although, I'm sure there's a good reason)
- since there is a distinction and they have different events, both items weren't accessible in toolbox.
2 May 2012 9:37 AM #2
2 May 2012 9:44 AM #3
Looks like you're right, according to the docs those events are now in the sliderfield... just not events accessible in Architect.
2 May 2012 11:27 AM #4
Ext.slider.Slider is a private class and hence not available from Toolbar.
Drag events are available for Ext.Field.Slider in Touch 2.0.1 so expect to see those events in next update.
Sencha Designer Development Team
30 Nov 2012 10:45 AM #5
Is there a way to use Ext.slider.Slider via Architect? I see that it is private and as stated therefore not in the toolbar, but it is a useful UI element.
My situation is that I am trying to add a seek bar for an audio player. The Ext.slider.Slider component seems to be the best choice for a component to use, but it is not available to me.
What is the recommended way of adding seek bar?
- Ext.slider.Slider is not available via the toolbar. Should I do something custom / hack around this?
- Ext.field.Slider is available, can I hide all the extra GUI? Is this the best component to use?
- Do I need to make my own custom slider? Is there an example that works well with Sencha?
- I cannot just "enableControls" because many android devices will not render controls.
Thank you for any assistance.