Wijmo UI for the Web
counter Option

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

Determines the text format of counter.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijgallery("option", "counter");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijgallery("option", "counter", newValue);
        
});
Javascript (Specification) 
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.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgallery jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.