debounce()
Function: debounce()
Section titled “Function: debounce()”function debounce(func, wait): (...args) => void;Debounces a function call by a delay.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
func | (…args) => void | |
wait | number |
Returns
Section titled “Returns”(...args): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args | any[] |
Returns
Section titled “Returns”void