Angular directive that recieves an event when there is no keyup input for a certain period of time.
npm install @swfz/ngx-filter-keyup-eventsAngular directive that recieves an event when there is no keyup input for a certain period of time.
using ng library
```
npm install -S @swfz/ngx-filter-keyup-events
And import into your NgModule
`
import {NgModule} from '@angular/core';
import {FilterKeyupEventsModule} from '@swfz/ngx-filter-keyup-events';
@NgModule({
imports: [FilterKeyupEventsModule],
})
`
- your.component.html
``
libFilterKeyupEvents
[intervalMs]="500"
(filteredKeyup)="onFilteredKeyup($event)"
type="text"
/>
- your.component.ts
```
onFilteredKeyup(event: string) {
console.log(event);
}