Skip to content

lujin123/vue-intersection-observer-infinite-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-intersection-observer-infinite-scroll

A infinite scroll with intersection observer

一个使用了IntersectionObserver封装的无限加载Vue组件,参考了下饿了么的vue-infinite-scroll的参数,O(∩_∩)O 哈哈~

这个东西用IntersectionObserver实现实在太简单啦,我觉得性能应该会比监听滚动好多了,但是兼容性不好,safari是不支持的,但是通过一个polyfill,就可以好很多了...

About

A infinite scroll with intersection observer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published