https://github.com/numsu/angular2-debounce
DEPRECATED: Angular2 directive that adds a debounce to your input fields.
https://github.com/numsu/angular2-debounce
angular2 debounce delay input
Last synced: 9 days ago
JSON representation
DEPRECATED: Angular2 directive that adds a debounce to your input fields.
- Host: GitHub
- URL: https://github.com/numsu/angular2-debounce
- Owner: numsu
- License: mit
- Created: 2017-02-12T13:57:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T20:35:12.000Z (over 7 years ago)
- Last Synced: 2025-08-09T01:31:35.339Z (11 months ago)
- Topics: angular2, debounce, delay, input
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/angular2-debounce)
# DEPRECATED
Use [ngx-debounce](https://github.com/numsu/ngx-debounce) instead.
# angular2-debounce
***angular2-debounce*** is an Angular2 directive that adds a debounce to your input fields.
It delays the start of a function call after every keyup -event.
## Installation:
```bash
npm install angular2-debounce --save
```
## Use Example:
Add the declaration to your @NgModule:
```typescript
import {Debounce} from 'angular2-debounce';
...
@NgModule({
declarations: [
Debounce
]
})
```
Use directly inside your HTML templates
```
```
## Author
[Miro Metsänheimo](https://miro.metsanheimo.fi)
## Licence
This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.