2.0.1 • Published 8 months ago

ngx-debounce-input v2.0.1

Weekly downloads
-
License
-
Repository
github
Last release
8 months ago

NgxDebounceInput

DEMO

Installation

Use this following command to install:

npm i ngx-debounce-input

Usage

import { NgxDebounceInputDirective } from 'ngx-debounce-input';

@NgModule({
  ...,
  imports: [NgxDebounceInputDirective], // Or import NgxDebounceInputModule
})
export class FeatureModule {}

**Your Angular version should be >= 16.

Using

HTML template:

<!-- delay 1s after user's input (default) -->
<input ngxDebounceInput (search)="doSmth($event)" />
<!-- delay 2s after user's input -->
<input ngxDebounceInput [debounceTime]="2000" (search)="doSmth($event)" />
2.0.1

8 months ago

2.0.0

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago