Carousel - GrayYoung/jQuery.UI.Extension GitHub Wiki

options

easing

Type: String | swing: ''

.

extraClass

Type: Object | Default: null

Add other classes to the widget.

frame

Type: String

content

Type: String

item

Type: String

height

Type: String or Number| Default: "auto"

.

items

Type: String | Default: "> *"

.

keepButtons

Type: Booleans | Default: false

.

orientation

Type: String[ horizontal | vertical ] | Default: "horizontal"

.

speed

Type: String or Number | Default: 'normal'

.

width

Type: String or Number | Default: "auto"

.

Methods

refresh

Refresh image of the widget, it's obvious if you add new items into the widget.
This method does not accept any arguments.
#####Code examples: $( ".selector" ).carousel("refresh");

destroy

Removes the widget functionality completely. This will return the element back to its pre-init state.
This method does not accept any arguments.
#####Code examples: $( ".selector" ).carousel("destroy");

previous

#####Code examples: $( ".selector" ).carousel("previous");

next

#####Code examples: $( ".selector" ).carousel("next");

Events

select

Triggered when the itme is selected.

  • event
    Type: Event
  • ui
    Type: Object

#####Code examples: $( ".selector" ).carousel({ select: function( event, ui ) {} });

⚠️ **GitHub.com Fallback** ⚠️