observertools库

在线文档:http://observertools.yinzhuoei.com/zh
github: https://github.com/1018715564/IntersectionObserver_Tools
npm: https://www.npmjs.com/package/observertools

一款用于懒加载,吸顶,触底,列表动画等功能的工具库,基于intersectionobserver

chinese:
兼容情况:此npm包不支持vue,react,angular等框架,可用于webapp或者H5页面 intersectionobserver接口的兼容情况:

IE全部不兼容
pc端的浏览器和移动端所有浏览器兼容都比较棒
关于动画的兼容性:css3纯动画

特性

懒加载
动画列表
触底
吸顶

english:
Compatibility: This NPM package does not support Vue, react, angular and other frameworks, and can be used for webapp or H5 pages

Compatibility of intersectionobserver interface:

Ie is not compatible

The browser on PC is compatible with all browsers on mobile

About animation compatibility: CSS3 pure animation

Characteristic

lazy loading

Animation list

touch bottom

suction top

评论啦~