@goldenapple/infinite-loading
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

使用方法

.html

{{ item.title }}
我是loading動畫

.ts itemList=[]; needLoading=true; @ViewChild("infiniteLoadingName") infiniteLoadingName: InfiniteLoadingDirective; infiniteLoadData() { if (!this.needLoadingneedLoading) { return; } // TODO: 需要載入新資料 this.itemList.push(data); // TODO: 需要判斷後續是否還有資料 this.needLoading=false; }

Readme

Keywords

none

Package Sidebar

Install

npm i @goldenapple/infinite-loading

Weekly Downloads

3

Version

0.0.3

License

none

Unpacked Size

55.1 kB

Total Files

23

Last publish

Collaborators

  • shih-sian
  • inanebbs
  • ruro
  • eisekson