The best jQuery Mobile scroll event Tutorial In 2024, In this tutorial you can learn jQuery Mobile scroll start (Scrollstart),Examples,jQuery Mobile scrolling end (Scrollstop),Examples,

jQuery Mobile scroll event

jQuery Mobile provides two scrolling events: when scrolling trigger and trigger the beginning of the end of rolling.


jQuery Mobile scroll start (Scrollstart)

scrollstart event is triggered when the user starts to scroll the page:

Examples

$(document).on("scrollstart",function(){
alert("开始滚动!");
});


lamp Note: iOS device is locked DOM operations when scrolling, it is impossible to change anything This means that when a user scrolling. However, jQuery team is working to find a solution for this.


jQuery Mobile scrolling end (Scrollstop)

scrollstop event is triggered when the user stops scrolling page:

Examples

$(document).on("scrollstop",function(){
alert("停止滚动!");
});



jQuery Mobile scroll event
10/30