Wijmo UI for the Web
add Method
wijmo.gallery Namespace > wijgallery type : add Method
The node content or innerHTML.
Specified the postion to insert at.
Adds a custom item with specified index. The first parameter is the new item to add, it should be a jQuery Element or HTML string. The second parameter is the index of item to add , If no index specified the item will be added at the last of item collection.
Syntax
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var ui; // Type:  undefined
    var index; // Type:  number
    
    returnsValue = $(".selector").wijgallery("add", ui, index);
});
function add( 
   ui : undefined,
   index : number
) : any;

Parameters

ui
The node content or innerHTML.
index
Specified the postion to insert at.
Example
$("#element").wijgallery("add", "<li><img..></li>", index);
See Also

Reference

wijgallery type
wijgallery jQuery Widget