Carousel - GrayYoung/jQuery.UI.Extension GitHub Wiki
Type: String | swing: ''
.
Type: Object | Default: null
Add other classes to the widget.
Type: String
Type: String
Type: String
Type: String or Number| Default: "auto"
.
Type: String | Default: "> *"
.
Type: Booleans | Default: false
.
Type: String[ horizontal | vertical ] | Default: "horizontal"
.
Type: String or Number | Default: 'normal'
.
Type: String or Number | Default: "auto"
.
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");
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");
#####Code examples:
$( ".selector" ).carousel("previous");
#####Code examples:
$( ".selector" ).carousel("next");
Triggered when the itme is selected.
- event
Type: Event - ui
Type: Object
#####Code examples:
$( ".selector" ).carousel({
select: function( event, ui ) {}
});