Wijmo UI for the Web
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
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var px; // Type:  number
    var dir; // Type:  string
    
    returnsValue = $(".selector").wijsuperpanel("scrollPxToValue", px, dir);
});
Javascript (Specification) 
function scrollPxToValue( 
   px : number,
   dir : string
) : any;

Parameters

px
Length of scrolling.
dir
Scrolling direction. Options are: "h" and "v".
Browser Compatibility
7
5
5

See Also

Reference

wijsuperpanel type
wijsuperpanel jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.