GithubHelp home page GithubHelp logo

vue-infinite-iscroll's Introduction

vue-infinite-iscroll

一个基于iscroll封装的vue无限滚动组件

目前已经有很多vue组件支持下拉加载和上拉刷新等功能了,但这在用户体验上其实是不得已而为之的事情。

下拉加载过程中,每次下拉都会新增一部分dom到html中,当用户一直下拉加载的时候,页面很容易就会卡死。

iscroll 是一个非常好的JS滚动库,其中实现了无限滚动(滚动过程中不断进行Dom替换)

但是其并没有提供一个vue可直接使用的组件,这个组件就做了这个事情。

Install

npm install vue-infinite-iscroll -S || yarn add vue-infinite-iscroll

Links

Quick Start

<infinite-scroll
  :lists="lists"
  :length="30">
  <div
    slot-scope="props">
    {{ props.data }}
  </div>
</infinite-scroll>

谁在使用

Bfui

无限滚动下拉框

LICENSE

MIT

vue-infinite-iscroll's People

Contributors

mrkylinzhou avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.