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

Default value: '[i] of [n]'

Determines the text format of counter.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijgallery("option", "counter");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijgallery("option", "counter", newValue);
        
});
var counter : string;
Example
$("#id").wijgallery({
    counter: '[i]/[n]'
});
Remarks
'[i]' and '[n]' are built-in parameters represents the current page index and the number of pages.
See Also

Reference

options type
wijgallery jQuery Widget