Wijmo UI for the Web
data Option

Default value: []

An object collection that contains the data of the gallery.

Syntax
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) 
var data : array;
Example
$("#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>"
}] } );
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgallery jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.