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