javascript - Scroll event in Phonegap -



javascript - Scroll event in Phonegap -

using phonegap i'm trying update element when user scrolls. using window.onscroll, event triggered 1 time scrolling has finished. need react on scrolling while user scrolls. found out can use

document.body.addeventlistener('touchmove', function(){})

which seems work while user has (her) finger on screen, if flips content , and releases finger, event triggered after scrolling has stopped.

is there way track scrolling while user scrolls in phonegap?

javascript cordova

Comments

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -