onScroll

fires when the scroll changes its position

void onScroll(number pos){ ... };

Parameters

posnumberthe scroll position

Example

var myScroll = webix.ui.vscroll({
    container:"scroll_here",
    scrollWidth:800
});
 
myScroll.attachEvent("onScroll",function(pos){alert(pos)});

Back to top