Documentation

onScroll

fires when the scroll changes its position

void onScroll(numberpos){ ... };

Parameters

posnumberthe scroll position

Example

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

Back to top