Skip to content

DEPRECATED: Angular2 directive that adds a debounce to your input fields.

License

Notifications You must be signed in to change notification settings

numsu/angular2-debounce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version

DEPRECATED

Use 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:

npm install angular2-debounce --save

Use Example:

Add the declaration to your @NgModule:

import {Debounce} from 'angular2-debounce';

...

@NgModule({
  declarations: [
    Debounce
  ]
})

Use directly inside your HTML templates

<input debounce [delay]="700" (func)="myDebouncedFunction()" [(ngModel)]="..." name="Debounce input" class="form-control input-sm">

Author

Miro Metsänheimo

Licence

This project is licensed under the MIT license. See the LICENSE file for more info.

About

DEPRECATED: Angular2 directive that adds a debounce to your input fields.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published