UseThrottledCallbackOptions
Defined in: src/hooks/useThrottledCallback/useThrottledCallback.types.ts:1
Properties
leading?
optionalleading:boolean
Defined in: src/hooks/useThrottledCallback/useThrottledCallback.types.ts:3
Fire on the leading edge (first call).
Default
truetrailing?
optionaltrailing:boolean
Defined in: src/hooks/useThrottledCallback/useThrottledCallback.types.ts:5
Fire on the trailing edge (after the last call in the window).
Default
true