🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ngx-lazy-mat-select

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-lazy-mat-select

Lazy load for mat-select

0.1.1
latest
npm
Version published
Weekly downloads
140
-15.15%
Maintainers
1
Weekly downloads
 
Created
Source

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>

Keywords

angular

FAQs

Package last updated on 15 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts