文章發佈日期: 2022-01-03
小知識教學類型: 手機應用程式開發
上文我們簡介了jQuery Mobile Events的各個種類,今文我們特別專談當互聯網使用者滑上滑落手機螢幕時的事件 jQuery Mobile Scroll Events:
jQuery Mobile Scrollstart:
$(document).on("scrollstart",function(){
alert("開始scrolling!");
});
jQuery Mobile Scrollstop
$(document).on("scrollstop",function(){
alert("停止scrolling!");
});