riktar / jkanban

Vanilla Javascript plugin for manage kanban boards
https://www.riccardotartaglia.it/jkanban/
Apache License 2.0
1.06k stars 296 forks source link

Can i get a callback whenever the user scrolled to the bottom of a board #169

Open parascodejudge opened 2 years ago

parascodejudge commented 2 years ago

Basically I just want to know, whenever the user has scrolled through all the items in the board and has reached to the bottom of the board. For example if you scrolled to the bottom of this board as shown in this image. https://user-images.githubusercontent.com/7257227/47652284-483d7580-db64-11e8-8444-a07ac2c81690.png

marcosrocha85 commented 2 years ago

Hello and thank you for using jKanban. If you're using jQuery, You can do by following this or this answers. If you need to use vanilla javascript, you can implement your own solution by following DOM Scroll Event.

Basically you have to apply listener to your scroll containers in order to achieve that.