search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

onScroll callback doesn't work

Asked by Val
2 years ago.

I'd like to something on vertical scroll but my callback didn't called

Answer posted by Dan Letecky [DayPilot]
2 years ago.

The onScroll event is only fired if dynamic event loading is enabled (

You can hook the "scroll" event directly like this:

dp.nav.scroll.addEventListener("scroll", function(ev) {
  // your code here
Comment posted by Val
2 years ago.

i can have access to dp via "this" into some method. So, what method is best place for do it ?

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.