Interface: UseThrottledValueOptions
Defined in: use-throttled-value.ts:6
Options for useThrottledValue.
Properties
leading?
optionalleading?:boolean
Defined in: use-throttled-value.ts:8
Emit a change immediately when no throttle window is active. Default is true.
trailing?
optionaltrailing?:boolean
Defined in: use-throttled-value.ts:10
Emit the latest value received during a window when it ends. Default is true.