wijmo.carousel.wijcarousel Namespace > options type : data Option |
Default value: []
An object collection that contains the data of the carousel.
Javascript (Usage) | |
---|---|
$(function () { // Get value var value; // Type: array value = $(".selector").wijcarousel("option", "data"); // Set value var newValue; // Type: array $(".selector").wijcarousel("option", "data", newValue); }); |
Javascript (Specification) | |
---|---|
|
: $("#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>" }] } );