Wijmo UI for the Web
options type
Inheritance Hierarchy

Object
   wijmo.carousel.wijcarousel.options

Browser Compatibility
7
5
5
Fields
 NameDescription
public Optionanimation

The animation option determines whether and how images are scroll in the carousel. It defines the animation effect and controls other aspects of the widget's animation, such as duration and easing. Set the disable attribute to true in order to disable the animation effect. For a live example, see the Carousel Animation page in the Explore sample.

 
public Optionauto

Default value: false

Allows pictures to be played automatically.

 
public OptionbuttonPosition

Default value: 'inside'

Determines the position value for next button and previous button. Possible values are: "inside" and "outside".

 
public Optioncontrol

Default value: ""

Determines the innerHtml of the custom control.

 
public OptioncontrolPosition

A value that indicates the position settings for the custom control.

 
public Optiondata

Default value: []

An object collection that contains the data of the carousel.

 
public Optiondisplay

Default value: 1

Determines how many images should be shown in the view area.

 
public Optioninterval

Default value: 5000

Determines the time span between two pictures showing in autoplay mode.

 
public Optionloop

Default value: true

Allows the carousel to loop back to the beginning.

 
public OptionnextBtnClass

Type: wijmo.carousel.btn_class_option

Determines the class of custom previous button. Includes the following sub-options "defaultClass", "hoverClass", "disableClass".

 
public Optionorientation

Default value: 'horizontal'

Determines the orientation of the pager. Possible values are: "vertical" & "horizontal"

 
public OptionpagerPosition

A value that indicates the position settings for the pager.

 
public OptionpagerType

Default value: 'numbers'

Determines the type of the pager in the carousel. Possible values are: "slider", "numbers", "dots", "thumbnails". For a live example, see the Carousel Paging page in the Explore sample.

 
public OptionprevBtnClass

Type: wijmo.carousel.btn_class_option

Determines the class of custom previous button. Includes the following sub-options "defaultClass", "hoverClass", "disableClass".

 
public Optionpreview

Default value: false

Determines if we should preview the last and next images. loop == false , orintation == "horizontal",display == 1.

 
public OptionshowCaption

Default value: true

Determines whether the caption of items should be shown.

 
public OptionshowControls

Default value: false

Determines whether the custom control should be shown.

 
public OptionshowControlsOnHover

Default value: false

Determines whether the controls should be shown after created or when hovering on the dom element.

 
public OptionshowPager

Default value: false

Determines whether to show the pager element. By default, if showPager is set to true, the pager will appear at the bottom right of the widget and allows run time carousel item navigation. You can customize the location and appearance of the pager by using the pagerPosition and pagerType options.

 
public OptionshowTimer

Default value: false

Determines if the timer of the carousel should be shown. If true, the timer appears by default at the top of the carousel with a play/pause button allowing carousel items to be automatically cycled through at run time.

 
public OptionsliderOrientation

Default value: 'horizontal'

Determines the orientation of the slider. Possible values are: "vertical" & "horizontal"

 
public Optionstart

Default value: 0

Determines the custom start position of the image list in wijcarousel.

 
public Optionstep

Default value: 1

Determines how many images will be scrolled when you click the Next/Previous button.

 
public Optionthumbnails

Determines the thumbnails list for a pager when pagerType is "thumbnails".

 
Top
Events
 NameDescription
public EventafterScrollThis is the afterScroll event handler. It is a function called after scrolling to another image.  
public EventbeforeScrollThis is the beforeScroll event handler. It is a function called before scrolling to another image.  
public EventitemClickThis is the itemClick event handler. It is a function called when the image is clicked.  
public EventloadCallbackThis is the loadCallback event handler. It is a function called after creating the dom element.  
Top
See Also

Reference

wijmo.carousel.wijcarousel Namespace

 

 


© 2013 All Rights Reserved.

Send comments on this topic.