Socket
Socket
Sign inDemoInstall

ngx-lazy-mat-select

Package Overview
Dependencies
62
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ngx-lazy-mat-select

Lazy load for mat-select


Version published
Weekly downloads
2.1K
increased by35.32%
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 15 Oct 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc