Wijmo UI for the Web
counterFormat Option
wijmo.lightbox.wijlightbox Namespace > options type : counterFormat Option

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

Determines the text format of counter. '[i]' and '[n]' are built-in parameters represents the current page index and the number of pages.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijlightbox("option", "counterFormat");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijlightbox("option", "counterFormat", newValue);
        
});
var counterFormat : string;
Example
$("#id").wijlightbox({
     counterFormat: '[i]/[n]'
 });
See Also

Reference

options type
wijlightbox jQuery Widget