Class CQ_Analytics.Slider
| Package: | CQ_Analytics |
| Class: | Slider |
| Extends: | Object |
| Clientlib: | personalization.core |
A helper class providing utility methods to create a jcarousel object.
See
/etc/clientlibs/foundation/personalization/jcarousel/jquery.jcarousel.js
Construction options:
- vertical: true to create a vertical slider (defaults to false).
- clazz: custom css class to append to top container
- parent: HTMLElement to append slider to
Public Properties
This class has no public properties.
Public Methods
| |
getCurrentValue() : void
Method called to get the current value of the slider. Returned value must match the id.
To override.
Method called to get the current value of the slider. Returned value must match the id.
To override.
|
Slider |
| |
getIndex( dom The ) : The
Gets the item index of the specified dom element
Gets the item index of the specified dom element
|
Slider |
| |
hide() : void
|
Slider |
| |
init() : void
|
Slider |
| |
onSelect( String id ) : void
Method called when an item gets selected. To get the item, use: [data-id='" + id + "'].
To override.
Method called when an item gets selected. To get the item, use: [data-id='" + id + "'].
To override.
Parameters:
id : StringId of the selected item
Returns:
|
Slider |
| |
show() : void
|
Slider |
Public Events
This class has no public events.