Wijmo UI for the Web
data Option
wijmo.gallery.wijgallery Namespace > options type : data Option

Default value: []

An object collection that contains the data of the gallery.

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

Reference

options type
wijgallery jQuery Widget