Wijmo UI for the Web
scrollPxToValue Method
wijmo.superpanel Namespace > wijsuperpanel type : scrollPxToValue Method
Length of scrolling.
Scrolling direction. Options are: "h" and "v".
Convert pixel to scroll value. For example, wijsuperpanel scrolled 50px which is value 1 after conversion.
Syntax
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var px; // Type:  number
    var dir; // Type:  string
    
    returnsValue = $(".selector").wijsuperpanel("scrollPxToValue", px, dir);
});
function scrollPxToValue( 
   px : number,
   dir : string
) : any;

Parameters

px
Length of scrolling.
dir
Scrolling direction. Options are: "h" and "v".
See Also

Reference

wijsuperpanel type
wijsuperpanel jQuery Widget