معرفی شرکت ها


debounce-1.2.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked
ویژگی مقدار
سیستم عامل -
نام فایل debounce-1.2.1
نام debounce
نسخه کتابخانه 1.2.1
نگهدارنده ['coreh', 'swatinem', 'timaschew', 'anthonyshort', 'ianstormtaylor', 'clintwood', 'cristiandouce', 'stagas', 'rauchg', 'kelonye', 'amasad', 'trevorgerhardt', 'juliangruber', 'thehydroimpulse', 'dominicbarnes', 'dfcreative', 'mattmueller', 'tootallnate', 'yields', 'stephenmathieson', 'retrofox', 'tjholowaychuk', 'timoxley', 'jongleberry', 'forbeslindesay', 'calvinfo', 'defunctzombie']
ایمیل نگهدارنده ['thecoreh@gmail.com', 'arpad.borsos@googlemail.com', 'timaschew@gmail.com', 'antshort@gmail.com', 'ian@ianstormtaylor.com', 'clint@anotherway.co.za', 'cristiandouce@gmail.com', 'gstagas@gmail.com', 'rauchg@gmail.com', 'kelonyemitchel@gmail.com', 'amjad.masad@gmail.com', 'trevorgerhardt@gmail.com', 'julian@juliangruber.com', 'dnfagnan@gmail.com', 'dominic@dbarnes.info', 'df.creative@gmail.com', 'mattmuelle@gmail.com', 'nathan@tootallnate.net', 'yields@icloud.com', 'me@stephenmathieson.com', 'rdsuarez@gmail.com', 'tj@vision-media.ca', 'secoif@gmail.com', 'jonathanrichardong@gmail.com', 'forbes@lindesay.co.uk', 'calvin@calv.info', 'shtylman@gmail.com']
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی git://github.com/component/debounce.git
آدرس اینترنتی https://github.com/component/debounce#readme
مجوز MIT
# debounce Useful for implementing behavior that should only happen after a repeated action has completed. ## Installation $ component install component/debounce Or in node: $ npm install debounce ## Example ```js var debounce = require('debounce'); window.onresize = debounce(resize, 200); function resize(e) { console.log('height', window.innerHeight); console.log('width', window.innerWidth); } ``` To later clear the timer and cancel currently scheduled executions: ``` window.onresize.clear(); ``` To execute any pending invocations and reset the timer: ``` window.onresize.flush(); ``` Alternately, if using newer syntax: ```js import { debounce } from "debounce"; ``` ## API ### debounce(fn, wait, [ immediate || false ]) Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked. Pass `true` for the `immediate` parameter to cause debounce to trigger the function on the leading edge instead of the trailing edge of the wait interval. Useful in circumstances like preventing accidental double-clicks on a "submit" button from firing a second time. The debounced function returned has a property 'clear' that is a function that will clear any scheduled future executions of your function. The debounced function returned has a property 'flush' that is a function that will immediately execute the function if and only if execution is scheduled, and reset the execution timer for subsequent invocations of the debounced function. ## License MIT Original implementation is from [`underscore.js`](http://underscorejs.org/) which also has an MIT license.


زبان مورد نیاز

مقدار نام
14.15.1 Npm


نحوه نصب


نصب پکیج tgz debounce-1.2.1:

    npm install debounce-1.2.1.tgz