wijmo.gallery Namespace : wijgallery type |
Javascript (Usage) | |
---|---|
$(function () { var options; // Type: wijmo.gallery.wijgallery.options $(".selector").wijgallery(options); }); |
Javascript (Specification) | |
---|---|
|
Object
wijmo.gallery.wijgallery
Name | Description | |
---|---|---|
wijgallery Constructor |
Name | Description | |
---|---|---|
add | 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. | |
count | Returns a count of the number of items in the gallery. | |
destroy | Removes the wijgallery functionality completely. This returns the element to its pre-init state. | |
next | Shows the next picture. | |
pause | Stops automatically displaying the images in order. | |
play | Starts automatically displaying each of the images in order. | |
previous | Shows the previous picture. | |
remove | Removes the item at specified index. The parameter is the index of item to add , If no index specified the last item will be removed. | |
show | Shows the picture at the specified index. | |
widget | Returns a jQuery object containing the original element or other relevant generated element. |