Limarquee
A jquery plugin for infinite scroll
Install
npm install --save-dev limarquee
Structure
├── Readme.md # help├── webpack.config.js # webpack.config.js配置├── test # 测试案例│ ├── index.css # 测试案例样式表│ ├── index.html # 测试案例静态页面│ └── index.js # 测试案例入口├── lib # 插件核心代码│ ├── style.css # 插件内置样式表│ └── index.js # 测试案例入口├── package.json├── .babelrc└── index.js # 外部引用插件时的入口
Usage
Infinite scroll work on a container element with its child of ul, and then ul contain children of li
信息内容一 信息内容二
Options
const limarquee = '.container'limarquee
Demo Usage
npm installnpm run server
And then, open with localhost:3333/index.html
Constribution to Limarquee
More knowledge from here