ngx-lazy-mat-select
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

NgxLazyMatSelect

Copy of ng-mat-select-infinite-scroll for Angular Material 16+

npm i ngx-lazy-mat-select

Usage

import { NgxLazyMatSelectModule } from 'ngx-lazy-mat-select';

Add NgxLazyMatSelectModule to NgModule imports alongside with MatFormFieldModule and MatSelectModule.

Use ngxLazyMatSelect directive.

<mat-form-field>
  <mat-label>Select</mat-label>
  <mat-select ngxLazyMatSelect (infiniteScroll)="getNextBatch()" [complete]="offset === data.length">
    <mat-option *ngFor="let option of options$ | async" [value]="option">{{option}}</mat-option>
  </mat-select>
</mat-form-field>

Package Sidebar

Install

npm i ngx-lazy-mat-select

Weekly Downloads

4,288

Version

0.1.1

License

none

Unpacked Size

30.9 kB

Total Files

12

Last publish

Collaborators

  • ararat7