Skip to content
Entangle UI v0.13.0

UseThrottledCallbackOptions

Defined in: src/hooks/useThrottledCallback/useThrottledCallback.types.ts:1

optional leading?: boolean

Defined in: src/hooks/useThrottledCallback/useThrottledCallback.types.ts:3

Fire on the leading edge (first call).

true

optional trailing?: boolean

Defined in: src/hooks/useThrottledCallback/useThrottledCallback.types.ts:5

Fire on the trailing edge (after the last call in the window).

true