diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/throttleit/Readme.md')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/throttleit/Readme.md | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/throttleit/Readme.md b/vnfmarket/src/main/webapp/vnfmarket/node_modules/throttleit/Readme.md deleted file mode 100644 index 03969a5d..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/throttleit/Readme.md +++ /dev/null @@ -1,32 +0,0 @@ - -# throttle - - Throttle a function - -## Installation - - $ component install component/throttle - -## Example - - var throttle = require('throttle'); - window.onresize = throttle(resize, 200); - - function resize(e) { - console.log('height', window.innerHeight); - console.log('width', window.innerWidth); - } - -## API - -### throttle(fn, wait) - -Creates a function that will call `fn` at most once every `wait` milliseconds. - -Supports leading and trailing invocation. - -`fn` will receive last context (`this`) and last arguments passed to a throttled wrapper before `fn` was invoked. - -## License - - MIT |