decorator-debounce
v1.0.0
Published
Decorator for debounce class methods
Downloads
1
Maintainers
Readme
Decorator for debounce
Decorator for debounce class methods
Install
npm install --save-dev decorator-debounce
Usage
import debounce from 'decorator-debounce';
class Component {
counter = 0;
@debounce(250)
onClick (e) {
// ...
}
}
License
MIT