An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![npm version](https://badge.fury.io/js/angular2-debounce.svg)](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.