Skip to main content

Home > @jsplumbtoolkit/browser-ui > debounce

debounce() function#

Create a debounced version of the given function.

Signature:

export declare function debounce(fn: Function, timeout: number): Function;

Parameters#

ParameterTypeDescription
fnFunction
timeoutnumber

Returns:

Function