Wijmo UI for the Web
data Option
wijmo.carousel.wijcarousel Namespace > options type : data Option

Default value: []

An object collection that contains the data of the carousel.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  array
    returnsValue = $(".selector").wijcarousel("option", "data");
    
    // Set value
    var newValue; // Type:  array
    $(".selector").wijcarousel("option", "data", newValue);
        
});
var data : array;
Example
:
$("#element").wijcarousel( { data: [{
    imageUrl: "../thumb/image1.jpg",
    linkUrl: "../images/image1.jpg",
    content: "",
    caption: "<span>Word Caption 1</span>"
},{
    imageUrl: "../thumb/image2.jpg",
    linkUrl: "../images/image2.jpg",
    content: "",
    caption: "<span>Word Caption 2</span>"
}] } );
See Also

Reference

options type
wijcarousel jQuery Widget