当前位置: 动力学知识库 > 问答 > 编程问答 >

jquery - Readjusting nanoScroller when new data is added.

问题描述:

Im using angular nanoscroller which is a wrapper for nanoScrollerJS:

https://github.com/maxaon/angular-nanoscroller

I want the scrollbar to automatically adjust itself to the top of the point where the new data is added (when it is added), right now when new data is added to the list the scrollbar stays at the same place.

I want to achieve something like this with this scrollbar:

https://sroze.github.io/ngInfiniteScroll/demo_async.html

分享给朋友:
您可能感兴趣的文章:
随机阅读: