Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      MultiSlider
        SingleSlider

Class CQ.Ext.slider.SingleSlider

Package:CQ.Ext.slider
Class:SingleSlider
Extends:CQ.Ext.slider.MultiSlider
Clientlib:cq.widgets
xtype:slider
Slider which supports vertical or horizontal orientation, keyboard adjustments, configurable snapping, axis clicking and animation. Can be added as an item to any container. Example usage:
new CQ.Ext.slider.SingleSlider({
    renderTo: CQ.Ext.getBody(),
    width: 200,
    value: 50,
    increment: 10,
    minValue: 0,
    maxValue: 100
});
The class CQ.Ext.slider.SingleSlider is aliased to CQ.Ext.Slider for backwards compatibility.

Config Options

Config Options Defined By
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  animate : Boolean
Turn on or off animation. Defaults to true
MultiSlider
  clickToChange : Boolean
Determines whether or not clicking on the Slider axis will change the slider. Defaults to true
MultiSlider
  constrainThumbs : Boolean
True to disallow thumbs from overlapping one another. Defaults to true
MultiSlider
  disabled : Boolean
Render this component disabled (default is false).
Component
  disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
  increment : Number
How many units to change the slider when adjusting by drag and drop. Use this option to enable 'snapping'.
MultiSlider
  maxValue : Number
The maximum value for the Slider. Defaults to 100.
MultiSlider
  minValue : Number
The minimum value for the Slider. Defaults to 0.
MultiSlider
  pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
  pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
  value : Number
The value to initialize the slider with. Defaults to minValue.
MultiSlider
  vertical : Boolean
Orient the Slider vertically rather than horizontally, defaults to false.
MultiSlider
  x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
  y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent

Public Properties

Property Defined By
  disabled : Boolean
True if this component is disabled. Read-only.
Component
  hidden : Boolean
True if this component is hidden. Read-only.
Component
  initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
  refOwner : CQ.Ext.Container The
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component
  thumbs : Array Array
MultiSlider
  values : Array Array
MultiSlider

Public Methods

Method Defined By

Public Events

Event Defined By