<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          angular-infinite-listangular 無限滾動列表組件

          聯(lián)合創(chuàng)作 · 2023-09-27 10:08

          一個短小精悍的angular無限滾動列表組件,無任何依賴

          • Tiny & dependency free &ndash; Only 3kb gzipped

          • Render millions of items, without breaking a sweat

          • Scroll to index or set the initial scroll offset

          • Supports fixed or variable heights/widths

          • Vertical or Horizontal lists

          地址:https://github.com/drawcall/angular-infinite-list

          例子:https://drawcall.github.io/angular-infinite-list



          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

          <infinitelist
              [width]='"100%"' 
              [height]='500' 
              [data]='data' 
              [itemSize]='50' 
              (update)='event = $event'>
                  <div *ngFor="let item of event?.items; let i=index;" [ngStyle]="event.getStyle(i)">
                      item{{event.start + i}} : {{item|json}}
                  </div>
          </infinitelist>
          
          or directive usage
          <div infinitelist [width]='"100%"' ...</div>
          瀏覽 24
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  免费看欧美一级片 | 色婷婷伊人 | 亚洲v区| 国产微拍精品 | 国产综合福利在线 |