structure.controls

This object property is about to describe the controls panel of the slider if there is used one.

This object property is optional.

Sub-properties:

previewMode
Required: no Type: boolean Default: false Version: 1.2 +
If true then the preview pictures are shown on the control panel, otherwise - divs.
containerClass
Required: no Type: string Default: null Version: 1.2 +
The CSS class of controls panel container.
elementClass
Required: no Type: string Default: null Version: 1.2 +
The CSS class of controls panel element.
elementActiveClass
Required: no Type: string Default: null Version: 1.2 +
The CSS class of active controls panel element.

Deprecated sub-properties:

align
Required: no Type: string Default: "left" Version: 1.2 - 1.4
The option where to show the controls panel. Possible values: "left", "center", "right".

Examples

Show controls in preview mode in the center of panel, assign special CSS classes.

JavaScript
controls: {
  previewMode: true,
  align: "center",
  containerClass: "control-container-img",
  elementClass: "control-element-img",
  elementActiveClass: "control-element-active-img"
}