wijmo.gallery.wijgallery Namespace > options type : data Option |
Default value: []
An object collection that contains the data of the gallery.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: array returnsValue = $(".selector").wijgallery("option", "data"); // Set value var newValue; // Type: array $(".selector").wijgallery("option", "data", newValue); }); |
Javascript (Specification) | |
---|---|
|
$("#element").wijgallery( { data: [{ url: "../thumb/image1.jpg", thumbUrl: "../images/image1.jpg", title: "<span>Word Caption 1</span>" },{ imageUrl: "../thumb/image2.jpg", linkUrl: "../images/image2.jpg", title: "<span>Word Caption 2</span>" }] } );