Detect Scroll / Swype Up without jquery

  • 1
  • Question
  • Updated 7 years ago
  • Doesn't Need an Answer
Hi,

I want to detect the scroll up event (to refresh data, like facebook app)
Currently, i'm using ontouchend, and check if document.body.scrollTop is above 0px

But it's not perfect.. is there any trick to do that without jquery or external javascript code ?
Photo of Yann S

Yann S

  • 214 Posts
  • 7 Reply Likes

Posted 7 years ago

  • 1
Photo of Zahir

Zahir

  • 3500 Posts
  • 40 Reply Likes
Due to the thread inactivity, this issue is now closed.
Create a new issue if you have any other problem with PhoneGap Build.
Thanks

This conversation is no longer open for comments or replies.