onstoptyping
v1.0.0
Published
Fire an event when a user stops typing on an input or textarea.
Downloads
6
Maintainers
Readme
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