短小精悍的angular无限滚动列表组件angular-infinite-list

短小精悍的angular无限滚动列表组件angular-infinite-list

  • 开源协议:MIT
  • 操作系统: Windows Linux OS X
  • 开发语言:Js
  • 项目所有者:a-jie
  • 收录时间:2017-11-05
  • 分享:
编辑评级
3

项目详细介绍

一个短小精悍的angular无限滚动列表组件,无任何依赖

  • Tiny & dependency free – Only 3kb gzipped

  • Render millions of items, without breaking a sweat

  • Scroll to index or set the initial scroll offset

  • Supports fixed or variable heig

    hts/widths

  • Vertical or Horizontal lists



Using npm:

npm   install   angular-infinite-list   --save

Import angular Infinite list module into your app module

import   {   InfiniteListModule   }   from   angular-infinite-list;

@NgModule({
      imports:   [
            BrowserModule,
            FormsModule,
            InfiniteListModule,
            ...

Wrap Infinite list tag around list items

 

item{{event.start + i}} : {{item|json}}

or directive usage

标签:高级ui组件