Miss any of our Open RFC calls?Watch the recordings here! »

observertools

1.0.7 • Public • Published

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

[![NPM Version][npm-version-image]][https://www.npmjs.com/package/observertools] [![NPM Downloads][npm-downloads-image]][https://www.npmjs.com/package/observertools]

chinese:

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

  1. IE全部不兼容
  2. pc端的浏览器和移动端所有浏览器兼容都比较棒

关于动画的兼容性:css3纯动画

特性

  1. 懒加载
  2. 动画列表
  3. 触底
  4. 吸顶

在线文档

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:

  1. Ie is not compatible

  2. The browser on PC is compatible with all browsers on mobile

About animation compatibility: CSS3 pure animation

Characteristic

  1. lazy loading

  2. Animation list

  3. touch bottom

  4. suction top

online-doc

Keywords

none

Install

npm i observertools

DownloadsWeekly Downloads

10

Version

1.0.7

License

ISC

Unpacked Size

14.5 kB

Total Files

9

Last publish

Collaborators

  • avatar