How do you detect scrolling in a framework7's virtual-list? -


i prevent accidental clicks happening while scrolling virtual-list. preventing clicks can done returning false @ preroute function or set e.preventdefault().

however, detecting scrolling on framework7 not seems straightforward.

i have tried following methods detect scrolling:

  1. use window.onscroll = scrollfunction.

  2. listen scroll event. , attempt listen scroll event on document using $$(document).on('scroll') , tried $$('.virtual-list).on('scroll'). no avail.

if out there, has solved issue, please let know. thank you!


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -