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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -