Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

onstoptyping

1.0.0 • Public • Published

onstoptyping

Fires an event when the user stops typing on an input or textarea, given a time interval.

Example

var inpt = document.querySelector('#myinput');
onstoptyping(inpt, 1000, function() {
  save();
});

License

MIT

Install

npm i onstoptyping

DownloadsWeekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar